MATLAB Answers


How to give input to a variable in centimeters

Asked by kranthi
on 27 Apr 2013

I want to give a line length in centimeters to a formula which returns the output in centimeters. but when i give the input as 25 matlab is not considering it as 25cm. please tell me how to do this

  1 Comment

the cyclist
on 27 Apr 2013

You need to provide more detail, and be more specific, and you should post some code. What do you mean by "not considering it as 25cm"?



No products are associated with this question.

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!