int and subs function
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    areej abdulshaheed
 el 16 de Feb. de 2020
  
    
    
    
    
    Comentada: areej abdulshaheed
 el 17 de Feb. de 2020
            hi everyone
I would like to do integration to the acceleration
syms t  
c=0.0625;  
a=c*t
v=int(a)
t=0:1:10;
v=subs(v)
the problem when I use subs function this error accor
Attempt to execute SCRIPT error as a function:
C:\Users\Areej Alfetlawi\Desktop\all matlab programs\matlab11-6-2019\matlab\error.
Error in sym/subs>mupadsubs (line 151)
error(inputchk(X,Y));
Error in sym/subs (line 142)
    G = mupadsubs(F,X,Y);
Error in int (line 8)
v=subs(v)
0 comentarios
Respuesta aceptada
  madhan ravi
      
      
 el 16 de Feb. de 2020
        
      Editada: madhan ravi
      
      
 el 16 de Feb. de 2020
  
      Run:
which subs -all
which error -all
In command window and paste the output here. It looks like you have a script named error.m that you may have created.
8 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Structures 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!


