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...
대략 6년 전
문제를 풀었습니다
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:...
답변 있음 How to compare tables/cells/characters?
Does the following help?
tf = strcmp(s1,s2) compares s1 and s2 and returns 1 (true) if the two are identical and 0 (false) ot...
대략 6년 전 | 0
답변 있음 Plotting a 3D graph, incorrect solution.
The problem is that after exiting the for loops, x and y are both equal to 100. So, they are scalars and cannot be used in surf....
대략 6년 전 | 0
| 수락됨
답변 있음 xlswrite too large imput
I had the same issue and managed to fix it. I was trying to create a file that did not exist in the path. So, I created the file...
대략 6년 전 | 1
답변 있음 I can not create a matrix
Please note that curly brace ({i}) makes a cell array and not a matrix. You have to use square brackets instead: []
So:
...