필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How could I display the resulting equation in the plot after the inputs are entered?

조회 수: 1 (최근 30일)
Roger Vegeta
Roger Vegeta 2016년 8월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
The function T(t) is a function of t.I just want the resulting equation in terms of t (after the inputs are entered). The program works fine, but I do not how to do what I need. Thanks.

답변 (1개)

Image Analyst
Image Analyst 2016년 8월 2일
Get rid of the lines that set t equal to linspace() inside the function and make the t be your vector. Assign it however you want, there are lots of ways and I don't know how you wanted to load up t. For example, you could assign linspace to t before you call the function, or read it in from a file, or get it from an Excel workbook, or get it from a uitable on the GUI, or however you want to do it. Then make sample_uniform_temperature_decrease() be a function that takes t as an argument:
function sample_uniform_temperature_decrease(t)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by