photo

Al Dente


Last seen: oltre 2 anni fa Attivo dal 2014

Followers: 0   Following: 0

Messaggio

There is a very useful but undocumented feature in simulink/matlab programming: get_param(, 'TraceDestinationInputPorts') and get_param(, 'TraceSourceOutputPorts') Also remember this: "setappdata"

Statistica

All
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Solver

Visualizza badge

Feeds

Visto da

Risposto
How do I assign a column of a matrix as another matrix?
if z was matrix that looks like this: z = [1 2 3; 4 5 6; 5 6 0; 7 0 0; 0 0 0] I could get all the columns (positive numb...

quasi 9 anni fa | 0

Risposto
having problem with mvnrnd...
matlab is basically telling you that it can't find the function: which mvnrnd will probably result in: 'mvnrnd' not foun...

quasi 9 anni fa | 0

| accettato

Risposto
How can I convert following script to function?
function xxx(image,p) a=imread(image); [m n] = size(a); % remove this line p = 2; if you don't w...

quasi 9 anni fa | 0

| accettato

Risposto
removing zeros from column
A(A==0) = []

quasi 9 anni fa | 0

| accettato

Risposto
No line on graph
your function: z = @(t)(((-0.005*pi*sqrt(5)*t)./2)+(2*sqrt(5)).^2); z(0:37.3) % would output values in the range of 19.3 t...

quasi 9 anni fa | 0

Risposto
How do I use trap?
area = trapz(x,y(x)) ?

quasi 9 anni fa | 0

| accettato

Risposto
MATLAB function to get all dependent .m files to generate exe using MATLAB 2013b
This might help: profile on -history; % your code here profile viewer; p = profile('info'); It will give you al...

quasi 9 anni fa | 1

Risposto
Reference an excel workbook that's already open
actually XLex.ActiveWorkbook would give you a handle to the currently active workbook you can even XLex.Active...

circa 9 anni fa | 0

| accettato

Risposto
replace matlab function with algorithm
your tags say prime, so I assume you want to find out prime numbers: isprime(i)~=0 would that be the answer to your ...

circa 9 anni fa | 0

Risposto
How can I get this example?
try looking in this folder you might find something, I'm assuming you have Simulink Design Optimization: winopen([matlabroo...

circa 9 anni fa | 0

Domanda


how do I "locate file on disk" using matlab?
The answer is system(['explorer /select,' fullfilepath_here]) question is: is there a matlab function that one can use instea...

circa 9 anni fa | 1 risposta | 0

1

risposta

Risposto
How to get the handle of simulink window in matlab
you can try using findall(0) -- root matlab handle, then looping over all the handles to find the right handle. What I wanted to...

oltre 9 anni fa | 1