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 visualizaciones (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by