Subscripted assignment dimension mismatch.
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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! :)
댓글 수: 0
답변 (1개)
per isakson
2014년 9월 8일
Hint:
>> m = zeros(1,3);
>> m(1,:) = cssm;
Subscripted assignment dimension mismatch.
where
function out = cssm
out = ones( 1, 12 );
end
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!