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: Why I cannot multiply a constat in cell array.
Replies: 1   Last Post: Aug 8, 2012 5:20 PM

Advanced Search

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

Posts: 17
Registered: 7/29/12
Why I cannot multiply a constat in cell array.
Posted: Aug 8, 2012 3:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

N =

{29x721 cell} {40x721 cell}
{37x721 cell} []

My variable "N" is something like this

I want to change all the values in this call array to be "zero"

I used

N = 0 .* (cat(1, N))

It is not working. How should I do?

And if I want to change just only N{2,1} = 0 only

How should I do again?

Thank you for great suggestions all the time when I posted here.



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.