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年弱 前
解決済み
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年弱 前
質問
help solving string question
Durring my last semester, we were given a bonus quiz to write a function the received and numberical input and produced the revi...
10年弱 前 | 5 件の回答 | 0
5
回答
質問
Unique numbers in array
I was charged to *try and write my own unique function* , I was thinking of first sorting the array, and then writing a loop tha...
約10年 前 | 2 件の回答 | 0
2
回答
質問
Matrix addition and means
I am trying to take a matrix of any size , whether it has one row or 9, and write a function file that add the each element by i...
約10年 前 | 1 件の回答 | 0
1
回答
質問
Advanced Matrices addition help
Im trying to figure out how I can create a function that will take a row vector, say 3-x-n, and figure out how to add each eleme...