Answer the question
In order to leave comments, you need to log in
How to replace a character variable with an array of values in Matlab?
Good afternoon. There is some function of t:
f = 2*t + 4*exp(-t/2) - 4 It is
necessary to replace this character variable with some array of values so that it looks like I just enter an array and a function:
t1 = 0:0.5 :10
f = 2*t1 + 4*exp(-t1/2)-4
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question