how to find values of y?
Show older comments
if true
% code
x=[0,1 1 20 30 430]
%corresponding values of y
y=[1510.75 a b c 10.9]
how to find a b c?
Answers (1)
madhan ravi
on 22 Oct 2018
clear all
syms a b c
x=[0.1 1 20 30 430]
%corresponding values of y
y=[1510.75 a b c 10.9]
for i =1:numel(y)
if (isnumeric(y(i))==0)
idx(i)=i
else
continue
end
end
y(idx)=x(idx)
4 Comments
Shubham Mohan Tatpalliwar
on 22 Oct 2018
madhan ravi
on 22 Oct 2018
I am finding it difficult to understand your question
Shubham Mohan Tatpalliwar
on 22 Oct 2018
madhan ravi
on 22 Oct 2018
maybe?
interp1(y,[10.9:1510])
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!