How to call a function to another m file?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Vinay Soni
el 7 de Nov. de 2019
Respondida: Image Analyst
el 7 de Nov. de 2019
My goal is to create a script m-file to plot temperature vs resitivity as described by 2 equations on the same axis. I have been informed to code equations 1 and 2 in 2 seperate functions which I have done (resitiviity and resitivity2). I am trying to call them in another m file called tempvres. However when I execute the code I am gaining a blank graph which isn't what im trying to obtain.
Resitivity function ^
Resitivity2 function ^
tempvres script ^
An example output when I type 100 in as the temp difference.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Function Creation 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!