Skip to main content
1-Visitor
July 23, 2023
Solved

Populating a matrix

  • July 23, 2023
  • 2 replies
  • 1388 views

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 🙂

 

Best answer by terryhendicott

Hi,

Welcome to the community

Like this

Capture.JPG

Cheers

Terry

2 replies

21-Topaz II
July 23, 2023

Hi,

Welcome to the community

Like this

Capture.JPG

Cheers

Terry

OmerB1-VisitorAuthor
1-Visitor
July 23, 2023

Perfect!

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

 

Many thanks!

Omer

21-Topaz II
July 23, 2023

Hi,

For some good introductory youtube videos on Mathcad Prime go to

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

 

Cheers

Terry