Feeds
已解决
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 前
提问
How to update compiled .mat file in standalone?
Hi, i have a gui standalone where i load and save data from/to a .mat file. Loading does work with fallowing code... load(de...
10 years 前 | 1 个回答 | 0
1
个回答已解决
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
10 years 前
已解决
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
10 years 前
已解决
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
10 years 前
已解决
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...
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 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
10 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
10 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
10 years 前
提问
How to set regexp expression for HH:MM dd.mm.yyyy format?
Hy, I have a gui where i want to check the user input dateSTOP for the format. The format should be in this order HH:MM dd.mm.yy...
10 years 前 | 3 个回答 | 1
3
个回答提问
How to workaround the plotyy copyobj error?
Hy, I have the same question like <http://www.mathworks.com/matlabcentral/newsreader/view_thread/71726 this question>. But unfor...
10 years 前 | 1 个回答 | 0
1
个回答提问
How to display progress of fminbnd in Matlab GUI?
How can i display the progress of fminbnd in a Matlab GUI? As this function takes some time to calculate it would be nice to dis...
10 years 前 | 1 个回答 | 0
1
个回答提问
How to remove a plot (if it exists) before replotting? Matlab GUI ButtonDownFcn
Hy, I want to plot a point on mouse-cklick using the ButtonDownFcn. Before it is plotted it should check if there is an existin...
10 years 前 | 1 个回答 | 0
1
个回答提问
how to highlight editbox text when press ´return´ using findjobj?
Hy, I want to highlight an editbox text when i press 'return' in an other edit box. I managed to find out that this is only p...
10 years 前 | 1 个回答 | 0
1
个回答提问
time dependent parameter in ode-function matlab
I want to solve an ode with a time dependent parameter. cA sould be 10000 if t is >=10 and <=11 else it should have the value of...
10 years 前 | 1 个回答 | 0