Feeds
已解决
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...
12 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
12 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...
12 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:...
12 years 前
提问
Need help using mesh and surf
Im trying to generate a surface plot using the following variables, -10<x<10 -10<y<10 t=sqrt(x^2 + y^2) z=sin(t)/t ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Trying to print 2 different variables using fprintf.
I have 2 matrix, a=[1 2 3;4 5 6;n n n] and b=[11 22 33;44 55 66;nn nn nn] I am trying to print the 1st variable of a and b then...
12 years 前 | 1 个回答 | 0

