cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Make a range variable and a function of a range variable into a matrix.

gatlas
10-Marble

Make a range variable and a function of a range variable into a matrix.

Team,

 

I have a range variable and a function of a range variable and I need to combine these into a single matrix.

 

The matrix would have two columns and 100 rows.

 

Please see the attached worksheet.

 

Thanks,

Dr. Atlas

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:gatlas)

A range is NOT an array, but you can use a range to create an array.

Once you have the (input) array, you can feed it to your function to get an (output) array; you may have to vectorise your function call.

You can plot the output array versus the input array, and you can augment the two arrays to form a matrix:

 

See attached worksheet!

Success!
Luc

View solution in original post

1 REPLY 1
LucMeekes
23-Emerald III
(To:gatlas)

A range is NOT an array, but you can use a range to create an array.

Once you have the (input) array, you can feed it to your function to get an (output) array; you may have to vectorise your function call.

You can plot the output array versus the input array, and you can augment the two arrays to form a matrix:

 

See attached worksheet!

Success!
Luc

Announcements

Top Tags