how to find values of y?
    6 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Shubham Mohan Tatpalliwar
 el 22 de Oct. de 2018
  
    
    
    
    
    Abierta de nuevo: Walter Roberson
      
      
 el 22 de Dic. de 2018
            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?
0 comentarios
Respuestas (1)
  madhan ravi
      
      
 el 22 de Oct. de 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 comentarios
Ver también
Categorías
				Más información sobre Elementary Math en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

