フィルターのクリア

Dimensions of arrays being concatenated are not consistent.

3 ビュー (過去 30 日間)
Prapthi
Prapthi 2023 年 1 月 31 日
コメント済み: Sarvesh Kale 2023 年 1 月 31 日
save_det_data = [detout(2,:)', detout(1,:)', Resel_agl', detout(3,:)',Resel_rng, Resel_vel, Resel_agl_deg];
Unrecognized function or variable 'detout'.
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 1 月 31 日
Please show us
whos detout Resel_agl Resel_rng Resel_vel Reset_Agl_deg
I suspect one of the Resel* variables has more than one row.
Prapthi
Prapthi 2023 年 1 月 31 日
Resel_agl_deg =
-45.5847
8.2132
8.2132
8.2132
90.0000
Resel_vel =
-4.1244 -4.1244 -4.2533 -3.9955 -4.5110
Resel_rng =
6.2213 26.7149 24.1532 19.7617 20.4936

サインインしてコメントする。

採用された回答

Prapthi
Prapthi 2023 年 1 月 31 日
Resel_agl_deg =
-45.5847
8.2132
8.2132
8.2132
90.0000
Resel_vel =
-4.1244 -4.1244 -4.2533 -3.9955 -4.5110
Resel_rng =
6.2213 26.7149 24.1532 19.7617 20.4936
  3 件のコメント
Prapthi
Prapthi 2023 年 1 月 31 日
Thanks a lot sir....
I have one more doubt ....
% DBSCAN clustering
if ~isempty(rng_excd_list)
dets_cluster = clustering(save_det_data, fft_Vel, veloc_bin_norm, ...
dis_thrs, rng_grid, agle_grid);
end
while i'm running this code it will not go to this statement and it comes out of the condition why is that so???
Sarvesh Kale
Sarvesh Kale 2023 年 1 月 31 日
The condition is evaluating to false, isempty function checks for empty array, the rng_excd_list must be empty which means isempty will return logical 1 and not of logical 1 will be 0 so the if block statement will not execute.

サインインしてコメントする。

その他の回答 (1 件)

Sarvesh Kale
Sarvesh Kale 2023 年 1 月 31 日
The command prompt is throwing error, make sure that detout array or function is defined in your workspace or the function is present in your present working directory, If the error thrown is 'Dimensions of arrays begin concatenated are not consistent' then probably you are trying to merge rows or different lengths or column vectors of different height.
a=[2,2,312,231];
b=rand(1,10);
[a;b] % this line will throw error
c={a;b} % this line will allow you to concatenate elements of different sizes
c{1} % this will get a, indexing into cell arrays !
  1 件のコメント
Prapthi
Prapthi 2023 年 1 月 31 日
Thanks a lot sir....
I have one more doubt ....
% DBSCAN clustering
if ~isempty(rng_excd_list)
dets_cluster = clustering(save_det_data, fft_Vel, veloc_bin_norm, ...
dis_thrs, rng_grid, agle_grid);
end
while i'm running this code it will not go to this statement and it comes out of the condition why is that so???

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by