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: what is the problem?
Replies: 1   Last Post: Dec 30, 2013 7:29 AM

Advanced Search

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

Posts: 6,677
Registered: 2/7/05
Re: what is the problem?
Posted: Dec 30, 2013 7:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 12/30/2013 5:06 AM, fatemeh wrote:
> i want to assign a vector in the matrix
> actually i have a loop that every time change the data in the vector
> and i want assign it to every row of my matrix
> this is my code :
> ps{psize,pcol}=cl{1,pcol};
> matlab give me this error :
> Index exceeds matrix dimensions.
> when psize=500 , pcol=15

if you are using vectors and matrices, then why are
you using {} for?

Date Subject Author
Read what is the problem?
Read Re: what is the problem?
Nasser Abbasi

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.