Wasikar
Active since 2017
Statistics
全部
Content Feed
解决了
Fibonacci sequence
计算第n个斐波那契号。给定n,返回f,其中f = fib(n)和f(1)= 1,f(2)= 1,f(3)= 2,...示例:inpu ...
4 years ago
解决了
Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...
4 years ago
Answered
Matlab Associate Exam info
如果您是在印度参加这项考试的情况,则数学是将认证活动外包给Kryterion测试中心。你...
Matlab Associate Exam info
如果您是在印度参加这项考试的情况,则数学是将认证活动外包给Kryterion测试中心。你...
4 years ago | 1
|公认
Answered
Why do I receive: EngineError: Import argument 'matlab.internal.engine.input' cannot be found or cannot be imported?
In python sqrt always returned as float.Try sqrt(4.0)
Why do I receive: EngineError: Import argument 'matlab.internal.engine.input' cannot be found or cannot be imported?
In python sqrt always returned as float.Try sqrt(4.0)
4年前| 0
解决了
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
5 years ago
解决了
Sort a list of complex numbers based on far they are from the origin.
给定复数z的列表,返回一个Zsort的列表,使得与原点最远的数字(0+0i)出现f ...
5 years ago
解决了
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
5 years ago
解决了
Getting logical indexes
这是一个基本的MATLAB操作。它是出于教学目的。--- Logical indexing works like this. thresh = 4...
5 years ago
解决了
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
5 years ago
解决了
Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
5 years ago
解决了
Determine the number of odd integers in a vector
确定向量中唯一的奇数整数的数量。示例:输入X = [2 5 8 3 7 1];输出y = 4;INP ...
5 years ago
解决了
将所有整数从1到2^n总和
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
5 years ago
解决了
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
5 years ago
解决了
三角数
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
5 years ago
解决了
Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...
5 years ago
解决了
查找所有小于0或大于10的元素,然后用NAN代替它们
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
5 years ago
解决了
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
5 years ago
解决了
Set the array elements whose value is 13 to 0
输入A数组或向量(可以为空)输出B的大小与A相同。所有等于13 ...的元素
5 years ago
解决了
MATLAB印度球员
answer is one of the indian matlab player(just for fun dont take serious)
5 years ago