I've write in the workspace of matlab matrix called a and it's really too big 300x300 ;
I've about three days to fille it with specific values that I want to fill it.
my matrix is an interger matrix - it means it have integer values.
After I filled it, I want to use that matrix in a function that Im building in the editor of matlab (not the workspace ..I mean the editor above that I write there a function)
the function called
%here I want to use the matrix a and to implement in it some manipulation
the problem that the matrix a is in my workspace and saved in the workspace variables, so if I want to write it again in the function
doSomething it takes me more time because it's 300x300
So what should I do for writing quickly the matrix a in the function doSomething? I mean by writing the matrix a in the function
doSomething in order to be able to use the matrix a in that function (the workspace variables isn't saved for function doSomething and I cant use the workspace variables in the function doSomething because it's not allowed in matlab)
could anyone help me out how I can save/use/write the workspace variable -in my case it's matrix a - and to be able to use it in my function that Im building in the editor of matlab without rewritting the matrix a itself in the function itself ? otherwise it takes really much time to re-write the a matrix 300x300 again in the function itself...is there anyway to save/use the a matrix in my function of matlab editor without re-writing it? all the point that I dont want to re-write the matrix a in my function editor of matlab in order to be able to use it through the editor/function itself.. the workspace variables aren't known for the matlab editor (matlab editor is where we write a function).