Message Boards Message Boards

0 Replies
0 Total Likes
View groups...
Share this post:

Varying constant in Matrix algebra to generate 3D plot

Posted 8 years ago

I do have matrix where two constants are used in the middle of process. I'd like to generate 3D plot where x,y,z (= a,b,answer) while I am varying a (0<a<1) and b (0<b<1). Any help will be very appreciable.

a = 0.2(*constants*);
b = 0.5(*constants*);
matrix = RandomReal[{-1, 1}, {4, 2}];
matrix1 = matrix[[All, 1]];
matrix2 = matrix[[All, 2]];
inter1 = a/b matrix1;
inter2 = 1/b matrix2;
inter = inter1 + inter2;
answer = Total[inter]
POSTED BY: Sungwoo Yang
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract