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: Undefined variable or function 'b'
Replies: 1   Last Post: May 10, 2013 1:28 PM

Advanced Search

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

Posts: 9,850
Registered: 6/7/07
Re: Undefined variable or function 'b'
Posted: May 10, 2013 1:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 5/10/2013 12:20 PM, Jacob wrote:
> I don't understand why it's not reading from the script when I enter
> these commands
> figure(1);
> subplot(2,1,1), zplane(b),title('zplance of FIR'), ylabel('Imaginary
> part'), xlabel('Real Part')
> subplot(2,1,2), plot(w,abs(fr)),title('Magnitude of Frequency
> Response'), ylabel('Amplitude'), xlabel('w(pi)')
> it always says undefined variable 'b'
> Ive made sure its headed to the right folder and everything.


Well, apparently not "everything"... :)


which b



from same context as the above and see what is actually there at the
time...somehow you've inadvertently CLEARed variables or you really
aren't in the working directory you think you are or the like...


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.