Subscripted assignment dimension mismatch.
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Hi,
Can anyone help me to figure this error?
Subscripted assignment dimension mismatch.
Error in (file name) (line 40) [conn_graph_uwb(i_uwb_seq, :, :), dist_graph_uwb(i_uwb_seq, :, :), std_graph_uwb(i_uwb_seq, :, :)] = ...
-------------------------------------------------------------
Here is my code:
[conn_graph_uwb(i_uwb_seq, :, :), dist_graph_uwb(i_uwb_seq, :, :), std_graph_uwb(i_uwb_seq, :, :)] = ... func_net_topo(area_min, area_max, net_node_pos, anchor_num, uwb_tran_range(i_uwb_seq), ... uwb_std_unit, std_power, uwb_fig_comm, i_uwb_seq, v_fig_legend, epsname);
v_conn_graph(:,:) = conn_graph_uwb(i_uwb_seq, :, :);
v_dist_graph(:,:) = dist_graph_uwb(i_uwb_seq, :, :);
v_std_graph(:,:) = std_graph_uwb(i_uwb_seq, :, :);
Really appreciate any prompt help. thanks! :)
Réponses (1)
per isakson
le 8 Sep 2014
Hint:
>> m = zeros(1,3);
>> m(1,:) = cssm;
Subscripted assignment dimension mismatch.
where
function out = cssm
out = ones( 1, 12 );
end
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!