cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

All evaluations result in error or a complex result

vveeran
4-Participant

All evaluations result in error or a complex result

I did the program correctly.

But, when I try to plot i(n) versus vk.

I am gettting error as "All evaluations result in error or a complex result".

can anyone help me.

Thank you.

ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:vveeran)

You can't plot i(n) vs v.k, because i is not a function of v.k. I think this is what you want.

View solution in original post

3 REPLIES 3
RichardJ
19-Tanzanite
(To:vveeran)

I don't see that error anywhere in your worksheet.

However, regarding your definition of i(n), v.k is a range variable, and you can't use a range variable like that. It's not clear to me exactly what you want to do though. If v.k were a vector then i(n) would return multiple values for any given value of n (the number of values being equal to the number of elements in the vector). Is that what you want, or something different?

vveeran
4-Participant
(To:vveeran)

Yes, I want to plot values of i(n) versus vk(range values from -150e-3 to 150e3).

where n is the state variable which is computed from f(n) :=find(n)

when i try to plot i(n) versus vk(range variable). I am getting error as

All evaluations resulted in either an error or as a complex result.

RichardJ
19-Tanzanite
(To:vveeran)

You can't plot i(n) vs v.k, because i is not a function of v.k. I think this is what you want.

Announcements

Top Tags