Feeds
提问
Why do I get an error: "Invalid or deleted object"
I'm running the following simulation in MatLab: for i=1:length(t) addpoints(curve1,posX(i),posY(i)); %trajectory in inerti...
7 years 前 | 1 个回答 | 0
1
个回答已解决
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
7 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...
7 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...
7 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 ...
7 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...
7 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:...
7 years 前
提问
Animate a ball in 3 dimensions
I want to animate a ball travelling in 3-D space along a parametrized curve, say a helix. In 2-D space, I use the 'viscircles' ...
9 years 前 | 2 个回答 | 0
2
个回答提问
Closing GUI without error
In my GUI I have a simulation that runs with a while loop. Problem is when I close the window while it's still running, matlab ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Matlab GUI edit text 'pi' and mathematical operations
If a person decides to enter 'pi' into the edit box, is there a way to convert the string 'pi' into its numerical value? So righ...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to reset GUI toggle pushdown after loop ends?
In my GUI I have a toggle button that begins running a simulation and ends the simulation upon triggering it again. The problem...
9 years 前 | 1 个回答 | 0

