I have an M X N matrix. The first column is number of nodes, the first row is interference range, and the data in the cell is slot value. i want to plot a mesh graph using mesh function, but the error is data dimensions must agree.

2 views (last 30 days)
code:
impval=xlsread('Booktest251.xlsx','a1:d7');
No_Nodes=impval(2:end,1)
Interfernce=impval(1,2:end)
slot_data=impval(2:end,2:end)
figure(1)
mesh(No_Nodes,Interfernce,slot_data)
???error==>mesh at 80
Data dimensions must agree
Any help will be appreciated

Answers (0)

Categories

Find more on 2-D and 3-D Plots 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!