The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: set parameter value
Replies: 8   Last Post: Nov 5, 2012 7:04 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 116
Registered: 5/24/12
Re: set parameter value
Posted: Nov 5, 2012 5:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I changed the code to

t = sort([0 100:100:300 100:100:300 400]);
i = [0 1000 400 700 ];
u = [i; i];
tu = [t(:) u(:)];

and it gave this error message while i have embedded matlab function

Size mismatch (size [1 x 1] ~= size [6 x 1]).
The size to the left is the size of the left-hand side of the assignment

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.