Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Subscripted assignment dimension mismatch in rangeestimationchirpdemo

Subject: Subscripted assignment dimension mismatch in rangeestimationchirpdemo

From: Vinod

Date: 16 Aug, 2014 08:38:12

Message: 1 of 2

I was going through the example
Waveform Design to Improve Performance of an Existing Radar System
which is a part of the Matlab Phased Array System Toolbox Examples.

I am getting the following error:

Subscripted assignment dimension mismatch.
Error in rangeestimationchirpdemo (line 212)
        tsig(:,n) = step(hradiator,s,tgt_ang(:,n));

Why this error is coming.
I did not make any change to the example code.

Subject: Subscripted assignment dimension mismatch in rangeestimationchirpdemo

From: Honglei Chen

Date: 17 Aug, 2014 03:55:14

Message: 2 of 2

Have you tried clearing the workspace (using clear command) and rerun the
example? It's likely you've got a variable with the same name but different
dimension.

HTH,

Honglei

"Vinod " <vinodv@bel.co.in> wrote in message
news:lsn59j$5af$1@newscl01ah.mathworks.com...
> I was going through the example
> Waveform Design to Improve Performance of an Existing Radar System
> which is a part of the Matlab Phased Array System Toolbox Examples.
>
> I am getting the following error:
>
> Subscripted assignment dimension mismatch.
> Error in rangeestimationchirpdemo (line 212)
> tsig(:,n) = step(hradiator,s,tgt_ang(:,n));
>
> Why this error is coming.
> I did not make any change to the example code.
>

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us