Hello, I am having trouble plotting this graph. Whenever I run my code I get an error that I am not using the plot function correctly or I get a blank graph. I think it may have to do with how I solved my equation for T. Thanks for any help.
    1 visualización (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Sarah Fries
 el 27 de Sept. de 2020
  
    
    
    
    
    Comentada: Star Strider
      
      
 el 27 de Sept. de 2020
            To = 273
Pair = 400000
Vo = .00066667
cp = 1
syms T t
T = To - (Pair*((Vo*((T/To)^(-5/2))) - Vo)/cp)*t;
Eqn = solve(T, t)
t = 0:.001:1;
Teq = Eqn
plot(t,Teq)
2 comentarios
Respuesta aceptada
  Star Strider
      
      
 el 27 de Sept. de 2020
        
      Editada: Star Strider
      
      
 el 27 de Sept. de 2020
  
      You are using the wrong plot function.  
fplot(Teq,[0 1])
xlabel('t')
ylabel('Teq')
EDIT — (27 Sep 2020 at 18:04)
Added plot image — 

.
2 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Line Plots 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!


