how can i type this function in matlab?

조회 수: 2(최근 30일)
IANC Cristian Gabriel
IANC Cristian Gabriel 2020년 12월 13일
답변: Abhishek Gupta 2020년 12월 16일
  댓글 수: 3
dpb
dpb 2020년 12월 13일
On re-looking, I'll bet your second interpretation is the correct one, Walter. My z then is of no help and is in fact, wrong.

댓글을 달려면 로그인하십시오.

답변(1개)

Abhishek Gupta
Abhishek Gupta 2020년 12월 16일
Hi,
As per my understanding, you want to write the 'g(x)' function in MATLAB. On assuming that in the given function (5+3x) is raised to a power, the solution would look something like as follows: -
syms x g(x) f(x)
f(x) = 5+3*x;
g(x) = sqrt(((x^f(x))^f(x))^f(x));
Or if it is 5 + 3*(x to power), then the implementation would be: -
syms x g(x)
g(x) = sqrt(x^(5+3*x^(5+3*x^(5+3*x))));

범주

Find more on Get Started with MATLAB in Help Center and File Exchange

태그

Community Treasure Hunt

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

Start Hunting!

Translated by