hi all
matlab has two main random number generators we surely all know about: rand and randn
randn uses a 0 mean, 1 std gaussian distribution
yet i very much miss a random number generator WHERE i can SPECIFY the mean and std i want it to use (very useful when trying to compare ur data to random...
ok, me again
its 3 am, and im listening to limp bizkit to keep my mind sharp
i think i got a "partial" solution, nuff for me today, ill try to find something better tomorrow
ok, so i just have the fig
>> open crappy.fig
>> gcf % returns the handle of the current figure
>>...
hi
yes, the original data was deleted, now i just have the .fig file left
i m really buggered, cuz i CAN see the data, i just need to "edit" the plot, then click on Y axis, and the data is THERE!! (check it out), but theres no option to "save it to workspace", as can be done...
hi all
okay, i have a simple plot saved in a .fig file
i JUST need to RETRIEVE the data of the Y axis
i m SURE it can be done, but i cant figure it out
i have even SEEN the data when editing the plot but i cant save it to workspace
help?
hi all
i am trying to minimize some matrix H using lsqnonneg (linear least square with non negativity constraint)
however, lsqnonneg accepts only vectors as inputs, not matrices, so i am forced to do this
for i=1:size(V,2)
H(:,i) = lsqnonneg(-W, -V(:,i))
end
this is extremely time consuming...
hi all
i am trying to compile AND link a matlab executable from its source code in c++
i proceeded as follows
1. coded the m file
2. translated the code to c++ with the mcc -p (so i have the executable file along with the source files, and it works as stand-alone)
3. compiled (to object file)...
i thought about that, but there is a problem with that
(keep in mind mebbe my algorithm design is faulty... :-S)
the fact is i have a top-down tree
_ node 4
node 2 |- node 5
node 1 -|
node 3 |- node 6
- node 7
i want to run...
hi all
i am trying to design a recursive function that would "spawn" a child process everytime a condition is met
to keep it simple:
function output = recursive_function(parameters)
if (condition_is_met)
recursive_function(parameters)
end
output=whatever;
i want to "keep...
thanks a lot!
both solutions work all right
P.D. thats for other readers: MLBS function is a function out of Frequency Domain System Identification toolbox (i dont have it, but thats no trouble to me)
hi all
i wish to plot a "boolean" matrix on a 2D surface, not like "mesh" or "surf", rather like a non-connected plot
something like
______________________
| * * |
| * |
| * * |
| * |
| *...