Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: About the errors i received while debugging the matlab programs of coffee can radar
suneel
Newbie
Posts: 3
Permalink
Post About the errors i received while debugging the matlab programs of coffee can radar
on: April 6, 2013, 09:46
Quote

Hello Sir,

My name is Suneel and I am a diploma student at Bangalore, in India

I have already built the coffee can radar and hardware components work fine but I don’t know how to test the cantenna through the software but I blindly checked it by connecting it to wifi router and establishing connection between the router and a laptop and concluded it as working as per my knowledge after seeing the signal strength at the right end of the taskbar network notification.

At software section Im getting badnews:

I simply ran the programs by double clicking program file mentioned in pdf file after extracting from .rar file downloaded in MIT site just to check if it runs properly or not and I found these errors from the respective program files as mentioned below.

The steps which I followed to remove error:

Its kind of silly of me to do this but im informing you sir.

1)first I imported the audio file and checked the program and I got these errors

2)then I checked without any imports and the error continued.

3)then I modified the 33rd line little bit and I got this error and reverted it back to its original format

************************

sif(:,ii) = s(1+(ii-1)*N:ii*N);

************************

That’s all I did to correct the error and for genuine program files (.i.e., no alteration being done to it)

I got the following errors:

I am getting error in the matlab file name: read_data_doppler.m

The following error message occurs:

*******************************************************************

In an assignment A(matrix,:) = B, the number of elements in the subscript of A and

the number of rows in B must be the same.

Error in ==> C:\Documents and Settings\****\******\doppler\read_data_doppler.m

On line 33 ==> sif(ii,:) = s(1+(ii-1)*N:ii*N);

*********************************************************************

Again I got the error message in range file name: read_data_RTI.m

The following error message occurs:

****************************************************************
??? In an assignment A(matrix,:) = B, the number of elements in the subscript of A and
the number of rows in B must be the same.

Error in ==> H:\Radar (project)\MIT PROJECT FILE\ranging_files\read_data_RTI.m
On line 48 ==> sif(count,:) = s(ii:ii+N-1);
***************************************************************

And finally I got the error message in third program also which is SAR:

The following error message occurs:

********************************************************

??? Error using ==> wavread

Error using ==> '

Out of memory. Type HELP MEMORY for your options.

Error in ==> H:\sar_files\SBAND_RMA_opendata.m

On line 20 ==> [Y,FS,NBITS] = wavread('towardswarehouse.wav');

*********************************************************

Please don’t ignore me as if it is a silly mistake but as for me it is a big headache as I have to submit this project for my examination which is 15 days away for now. Please, please, please help me out here and reply as soon as possible sir and oblige.

I have attached the files from which i got errors.

I am using matlab version 6.5.0.180913a Release 13, June 18, 2002

And I am using desktop pc running on windows XP professional sp3
Ram is of 2 GB and Pentium Dual Core 2.2 GHZ

suneel
Newbie
Posts: 3
Permalink
Post Re: About the errors i received while debugging the matlab programs of coffee can radar
on: April 6, 2013, 11:27
Quote

I think I have found out the culprit behind the occurrence of errors

1) I think there were no proper tools installed in my old system
or
2) I think it was the memory issue which I had 2 GB of RAM and a 32 bit system
or
3) I think it was because that I had been using old matlab software

best of all I evaded all the errors from a new core i7 system with 16 GB of RAM
and a new version of matlab .i.e., R2008B

Even then I thank Dr. Gregory L. Charvat for replying to the mail which I sent. :)

Y3G
Advanced
Posts: 23
Permalink
Post Re: About the errors i received while debugging the matlab programs of coffee can radar
on: April 6, 2013, 14:31
Quote

Yep,
That was my first guess, older MATLAB version.
Nevertheless, could you forward your wav file records ? I guess we would be all interested in the outcome.
Good luck for your project
Y3G

suneel
Newbie
Posts: 3
Permalink
Post Re: About the errors i received while debugging the matlab programs of coffee can radar
on: April 10, 2013, 02:39
Quote

i have uploaded it in mediafire and i didn't know which type was best so i recorded in mono and then converted to stero and i kept both files
here is the link for download.

http://www.mediafire.com/download.php?grua89agier28vg

please tell me if i have made some mistake so that i can correct it

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.05 seconds.