MATLAB Answers

reading the cell arrays and plotting the contour of the read vertices.

2 views (last 30 days)
muhammad choudhry
muhammad choudhry on 18 Nov 2020
Example:
Row 1: 100 x1 x2 x3 x4 x5 x6 150 x7 x8 x9 200 . . . . .. .250 . .. . .
Row 2: 6(co-ordinates) y1 y2 y3 y4 y5 y6 3 (co-ordinates) y7 y8 y9 1020 (co-ordinates)......... 1000(co-ordinates)..........
Above example is from contour matrix as shown in the link below:
I need to make a code in which code will read the second row first column cell which tells how many co ordinates need to read in row 1 and 2 to plot the contour with concentration 100 then read the next cell which tells to read the next co ordinates required to plot the next contour .......... I need to build this code as I am extracting the C values from [c,h] = contour(I). ANy help would be appreciated?

Answers (0)

Community Treasure Hunt

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

Start Hunting!