help with plotting quadratic

5 views (last 30 days)
random1072
random1072 on 17 Apr 2020
Answered: Image Analyst on 22 Apr 2020
need help plotting my K_tilde_quad matrix which is ultimately shaped as a quadratic. The x values need to go from 1 - 14 and the y values is the k_tilde_quad matrix. Attatched is my current graph and my code. I am trying to make the graph smooth and not straight lines. I understand I have the code diag in with the plot code but when I erase that i get a lot of vertical lines underneath the graph.

Answers (2)

Prabhan Purwar
Prabhan Purwar on 21 Apr 2020

Image Analyst
Image Analyst on 22 Apr 2020
See my spline fit demo.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!