Plotting in 3D

This question was flagged by Dyuman Joshi
  • Flagged as Duplicate by Dyuman Joshi on 24 May 2023.

    Question answered here https://in.mathworks.com/matlabcentral/answers/1972219-plotting-in-3d?s_tid=srchtitle

How drow this founction in matlab in 3D plotting

1 Comment

Which function? Do you mean the expression of Complexity? There's only 1 independent variable i.e. "n". How would you plot a 3D graph from that?
If you want to plot the expression, you can do it like this -
fun = @(n) 6.^(n-1).*(n+4).*(n+6).^4;
fplot(fun)

Answers (0)

This question is closed.

Asked:

on 24 May 2023

Closed:

on 25 May 2023

Community Treasure Hunt

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

Start Hunting!