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:
solve in R2008b does not like spaces?

Subject: solve in R2008b does not like spaces?

From: Joerg Buchholz

Date: 22 Nov, 2008 17:35:02

Message: 1 of 2

R2008b's solve command cannot solve (string) equations with spaces?

>> solve ('sqrt (x) = 42')
Warning: 2 equations in 1 variables.
> In solve at 139
Warning: Explicit solution could not be found.
> In solve at 170
 
ans =
 
[ empty sym ]

>> solve ('sqrt(x) = 42')
 
ans =
 
1764

>> syms x
>> solve (sqrt (x) - 42)
 
ans =
 
1764

Subject: solve in R2008b does not like spaces?

From: Joerg Buchholz

Date: 15 Jan, 2009 15:55:04

Message: 2 of 2

The bug has not been fixed in R2009a.

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