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:
input

Subject: input

From: Rado

Date: 9 Aug, 2010 13:08:06

Message: 1 of 2

Hello everyone,

I am novice-level Matlab user.

I have the following question:
Can I visualize (or input), for example the input of a matrix as a normal hand-written matrix notation?

What I mean is...
- here we have a matrix input of M in Matlab:
M=[a11 a12 a13; a21 a22 a23; a31 a32 a33]
- can I visualize (on the screen) or input this matrix as follows?
     |a11 a12 a13|
M=|a21 a22 a23|
     |a31 a32 a33|

I know there are some keyboard combinations in Wolfram Mathematica that allow this. I have also worked with MathCAD and the input there can be done this way directly (see the link below).
Here is an example of what I mean:
http://upload.wikimedia.org/wikipedia/de/6/6f/MathCad_Matrix.png

Thanks in advance!

Subject: input

From: Sean

Date: 9 Aug, 2010 13:23:19

Message: 2 of 2

"Rado " <radi8600@gmail.com.remove.this> wrote in message <i3oujm$5km$1@fred.mathworks.com>...
> Hello everyone,
>
> I am novice-level Matlab user.
>
> I have the following question:
> Can I visualize (or input), for example the input of a matrix as a normal hand-written matrix notation?
>
> What I mean is...
> - here we have a matrix input of M in Matlab:
> M=[a11 a12 a13; a21 a22 a23; a31 a32 a33]
> - can I visualize (on the screen) or input this matrix as follows?
> |a11 a12 a13|
> M=|a21 a22 a23|
> |a31 a32 a33|
>
> I know there are some keyboard combinations in Wolfram Mathematica that allow this. I have also worked with MathCAD and the input there can be done this way directly (see the link below).
> Here is an example of what I mean:
> http://upload.wikimedia.org/wikipedia/de/6/6f/MathCad_Matrix.png
>
> Thanks in advance!

M = ['a1 ','a2 ','a3 ';'b1 ','b2 ','b3 '];
disp(M);

Tags for this Thread

No tags are associated with 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