필터 지우기
필터 지우기

show an equation without calculus

조회 수: 1 (최근 30일)
AnnaMaria Accardo
AnnaMaria Accardo 2015년 2월 25일
답변: Image Analyst 2015년 3월 1일
Hi all, I'm new in this forum and I'm new in matlab. I'm working on an assignment and I have a doubt. I have to represent the column vector u=[exp(-1); exp(0); exp(1); exp(2); exp(3)]. I'm asking if there is a possibility to show the e^x without doing calculations (for example if I can show e^0 instead of showing the result '1'). Thanks for the answer. I hope that the question is not too stupid and that it has quite a solution

답변 (1개)

Image Analyst
Image Analyst 2015년 3월 1일
I don't know of any way to raise e to a power without doing a calculation for the exp() function or some other way (e.g. algorithm, series, or whatever). You can do it all in a few lines without hard coding the numbers though:
x = -1 : 100; % Whatever you want
u = exp(x);

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by