| MATLAB Central > MATLAB Newsreader > Please correct this matlab code |
|
|
|
function [l,c,n] = find_edges(s , a, file) |
|
Subject: Please correct this matlab code From: Greg Heath Date: 7 Jul, 2012 06:51:16 Message: 2 of 22 |
|
"fasd" wrote in message <jt69cu$kdu$1@newscl01ah.mathworks.com>... |
|
function [l,c,n] = find_edges(s , a, file) |
|
Hi, |
|
function [l,c,n] = find_edges(s , a, file) |
|
hmmm...look, your code to me is rather poorly formatted...personally I find it very hard to read it. Also the if statements in the if(~b && l(2) > 0.4 && c(2) > 0.9 && n(2) > 1.0) were not closed properly, so I donÄt know whether your code actually ran at all! I've tried to format your code a little bit, but you definitely need to clean it up and do the statements properly. Alos get rid of everything thats not neede, otherwise its hard to see what you actually need: |
|
"Florian" wrote in message <jtea54$4g2$1@newscl01ah.mathworks.com>... |
|
On 7/9/2012 5:46 AM, fasd wrote: |
|
Am so confused, i have been trying to work on this type of code for 2 days,Nothing!!! |
|
Subject: Please correct this matlab code From: Barry Williams Date: 10 Jul, 2012 10:13:07 Message: 10 of 22 |
|
"fasd" wrote in message <jtgonn$co$1@newscl01ah.mathworks.com>... |
|
My supervisor who gave me this task went on a travel for 1 week and he doesn't check his email, i was only given this C++ and asked to transform into matlab: |
|
On 7/10/2012 5:48 AM, fasd wrote: |
|
On 7/10/2012 5:48 AM, fasd wrote: |
|
On 7/10/2012 9:08 AM, dpb wrote: |
|
On 7/10/2012 11:40 AM, dpb wrote: |
|
On 7/10/2012 11:40 AM, dpb wrote: |
|
On 7/11/2012 1:48 PM, dpb wrote: |
|
Subject: Please correct this matlab code From: Steven_Lord Date: 12 Jul, 2012 20:50:32 Message: 18 of 22 |
|
|
|
On 7/12/2012 3:50 PM, Steven_Lord wrote: |
|
On 7/12/2012 3:50 PM, Steven_Lord wrote: |
|
Hate coding |
|
On 7/16/2012 4:48 AM, fasd wrote: |
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.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| file | fasd | 10 Jul, 2012 06:49:13 |
| matlab | fasd | 10 Jul, 2012 06:49:13 |
| c | fasd | 10 Jul, 2012 06:49:13 |
| rising edge | fasd | 9 Jul, 2012 05:49:11 |
| fread | fasd | 9 Jul, 2012 05:49:11 |
| line by line | fasd | 9 Jul, 2012 05:49:11 |
| elseif | fasd | 6 Jul, 2012 05:04:12 |
| matlab code | fasd | 6 Jul, 2012 05:04:12 |
| if | fasd | 6 Jul, 2012 05:04:12 |
