comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: "Expression Must be a Scalar in this context:" error in nlinlsq function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: "Expression Must be a Scalar in this context:" error in nlinlsq function [message #81234 is a reply to message #81233] Tue, 28 August 2012 09:27 Go to previous messageGo to previous message
Erini Lambrides is currently offline  Erini Lambrides
Messages: 6
Registered: March 2012
Junior Member
> I would say that the variable aoffxc is a five-element byte array,
>
> when it should be a one-element scalar to use it in a boolean
>
> expression like this. :-)

> David

Yes I agree, so I guess what I'm confused about is nlinlsq works like a for loop where the iterations are determined by the amounts of "functions", better word would be the size of you data set. So I have all these variables that look like this e.g a=[b(0)...b(n)] How would I check if one of those values are zero, and perform a statement on them? And thank you for your speedy reply!

-Erini
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Format code to trim leading zeroes?
Next Topic: Re: Inheriting Properties (or something similar) in IDLDOC

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:07:56 PDT 2025

Total time taken to generate the page: 0.55795 seconds