[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help please in interpreting Matlab code

From: Terry Duell
Subject: Help please in interpreting Matlab code
Date: Sun, 17 Apr 2011 09:56:21 +1000
User-agent: Opera Mail/11.10 (Linux)

Hullo All,
I am trying to get some code written for Matlab, v7.3 I think, running in Octave 3.2.4, but have had trouble finding any info to help me interpret the code that Octave flags as a parse error.
The code is as follows (there are 4 lines of text);

imedges2c1(:,4*i-3:4*i) = [cross(imcorners2c1(:,1),imcorners2c1(:,4)), ... = [ y4-y1 ; x1-x4 ; x4*y1-x1*y4 ] cross(imcorners2c1(:,2),imcorners2c1(:,1)), ...
cross(imcorners2c1(:,3),imcorners2c1(:,2)), ...

Octave flags the error as;

  syntax error

imedges2c1(:,4*i-3:4*i) = [cross(imcorners2c1(:,1),imcorners2c1(:,4)), ... = [ y4-y1 ; x1-x4 ; x4*y1-x1*y4 ]

Can someone please help me understand what this means and how to translate it into code that is acceptable to Octave?

Terry Duell

reply via email to

[Prev in Thread] Current Thread [Next in Thread]