Feeds
已解决
Sum all integers from 1 to 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.
10 years 前
已解决
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
10 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
10 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
10 years 前
已解决
Return the Nth Output from an Input Command
*Description* Given _F_, a cell array whose first element is a function handle and subsequent elements are arguments, return ...
10 years 前
已回答
Anonymous functions in cftool GUI
Hi Marcelo, sorry I didn't see your comment until just now. I no longer have access to the curve fitting toolbox to test, but I ...
Anonymous functions in cftool GUI
Hi Marcelo, sorry I didn't see your comment until just now. I no longer have access to the curve fitting toolbox to test, but I ...
10 years 前 | 0
| 已接受
已回答
Eval on multi-line strings - no return value?
I hope I can add some further insight to what others have said. The main reason |eval| isn't working the way you expect is that ...
Eval on multi-line strings - no return value?
I hope I can add some further insight to what others have said. The main reason |eval| isn't working the way you expect is that ...
10 years 前 | 1
已回答
Anonymous functions in cftool GUI
You don't need to use an anonymous function. Just type in your function, making sure to use x as the independent variable: ...
Anonymous functions in cftool GUI
You don't need to use an anonymous function. Just type in your function, making sure to use x as the independent variable: ...
11 years 前 | 0