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 ビュー (過去 30 日間)
古いコメントを表示
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
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!