help-octave
[Top][All Lists]
Advanced

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

Re: Multiplying Equations


From: Glen MacLachlan
Subject: Re: Multiplying Equations
Date: Thu, 25 Jul 2013 10:03:26 -0400

Try using .* and ./ instead of * and / alone.

On Jul 25, 2013 9:23 AM, "Liezl Koornhof" <address@hidden> wrote:
To whom it may concern,

I am doing my final year project for Industrial Engineering and I have encountered a problem while programming in octave. 

The problem occurs when I try to multiple two equations with multiple variables. 

Here is an example:
f(x) = (a/b)*(x/b)
g(y) = (a/b)*(y/b)

h(x,y) = f(x)*g(y)

the error I am given states that the binary operand * cannot be used in this situation. Please can you tell me in what manner I can multiply these equations. 

Thank you

--
L Koornhof
Industrial Engineering Student
University of Pretoria
address@hidden

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave


reply via email to

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