I got scalar error continually. could you give advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I got scalar error continually. could you give advice
- Labels:
-
Other
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You need to user vectorization! Thats a special Mathcad operator:
Excerpt from the help:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
jinsuk Lee wrote:
I don't know well wht I got error cotinually.
Which error?
The first error I see is because of a nonexistent Excel Sheet you try to read from.
You provided "nrel aero data.xlsx" but "\nrel_r,c,t.xlsx" is missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I forgot to attach.
thank you
And I got error here
I got massage about scalar error here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
r.c is a vector but you compare that argument to a scalar in your function CL. This obviously can't work.
If you want the result for every element in r.c collected in a result vector, you have to use the vectorization operator over CL(.....).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
So you mean that I need to work to use "vector"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You need to user vectorization! Thats a special Mathcad operator:
Excerpt from the help:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Okay I got it.
Good information for me. thank you!!
