Skip to main content
1-Visitor
Jul 23, 2023 6:07 PM UTC
Solved

Populating a matrix

Hi all,

I'm new to Mathcad and trying to do somthing that is very simple on Excel, and hopefully isn't too difficult on Mathcad-

I have a range variable say z:=-5..5

I have a complicated function f(z), but for simplicity just assume it is - f(z):=z^3

I would like to have a matrix where the first column is z, and the second coloumn is f(z).

It should look something like that-

-5-125
-4-64
-3-27
-2-8
-1-1
00
11
28
327
464
5125

 

Any ideas/suggestions how to do it?

Thank you 🙂

 

terryhendicott
21-Topaz II
Jul 23, 2023 6:50 PM UTC

Hi,

Welcome to the community

Like this

Capture.JPG

Cheers

Terry

3 replies

terryhendicott
21-Topaz II
Jul 23, 2023 6:50 PM UTC

Hi,

Welcome to the community

Like this

Capture.JPG

Cheers

Terry

Translate
OmerB1-VisitorAuthor
1-Visitor
Jul 23, 2023 7:47 PM UTC

Perfect!

I knew it must be something simple....😅

 

Many thanks!

Omer

Translate
terryhendicott
21-Topaz II
Jul 23, 2023 7:17 PM UTC

Hi,

For some good introductory youtube videos on Mathcad Prime go to

https://www.youtube.com/user/MathcadAcademic

 

Cheers

Terry

Translate