Community Profile

photo

SK


X

Last seen: 6 mesi fa Attivo dal 2012

Followers: 0   Following: 0

Contatto

Statistiche

All
  • Thankful Level 2
  • Knowledgeable Level 3
  • First Review
  • First Submission
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Creator
  • Solver

Visualizza badge

Feeds

Visto da

Domanda


Recognizing properties, methods and function names in Matlab code.
I'm writing a global naming convention change utility for Matlab code. To this end, I would like to know the answers to the foll...

circa 2 anni fa | 1 risposta | 0

1

risposta

Risposto
How to get size of an object
The problem with all the suggested solutions is that the matlab properties() function will not return the names of private prope...

quasi 4 anni fa | 0

Risposto
Matlab Beep at zooming in plot and evaluating variables
The problem persists in 2019a.

oltre 4 anni fa | 0

Risposto
How to get the confidence intervals of regression coefficients in nlinfit?
There is no fixed answer to this, unless myfun is known and is nice enough to be analysed theoretically. In general, I would do ...

oltre 5 anni fa | 0

Risposto
Kronecker product of cell array elemnts
>> CL = repmat(transpose(C(:)), [3*20, 1]); >> CR = repmat(C(:), [1, 3*20]); >> P = cellfun(@kron, CL, CR, 'UniformOutpu...

oltre 5 anni fa | 0

Risposto
how can i convert duration type to datetime type??
duration is the difference between two datetime objects. So if you know a start date, you can add a duration to it to get the en...

oltre 5 anni fa | 3

Risposto
Empty array of class objects from string name of class
OK, so it turns out, that I cannot do what I wanted to accomplish. The original problem arose from my not wanting to write an ex...

oltre 5 anni fa | 0

Domanda


Empty array of class objects from string name of class
If I have a class called SomeClass, I can create an empty array of SomeClass using: arr = SomeClass.empty Is there a way...

oltre 5 anni fa | 3 risposte | 1

3

risposte

Domanda


How to use setfield and getfield with colons or vector indices
There are times when getfield and set field are useful, but they are documented poorly. Suppose I have the following >> s...

oltre 5 anni fa | 0 risposte | 0

0

risposte

Domanda


Matlab parfor saves and loads temporary variables during execution!
The parallel pool implementation appears to save and load variables using effectively the normal "save" and "load" channels when...

oltre 5 anni fa | 2 risposte | 0

2

risposte

Risposto
How to copy tab text in variable editor
OK, I find that if I double-click _on_ the variable name (below the tabs on the line with the small square grey box), then it ge...

oltre 6 anni fa | 1

Risposto
How to copy tab text in variable editor
Sorry for the late reply. The screenshot below shows the variables opened with the right click menu of the last tab. There does ...

oltre 6 anni fa | 0

Domanda


How to copy tab text in variable editor
On some occasions, in the variable editor, due to some mouse mis-click, I find that the text contained in one of the tabs is sel...

oltre 6 anni fa | 3 risposte | 0

3

risposte

Domanda


Moving files via current folder window.
I have noticed that if I cut and paste a file or folder via the GUI, Matlab seems to physically move the location of file or fol...

quasi 7 anni fa | 1 risposta | 0

1

risposta

Risposto
How can I plot a phase portrait of x' vs x
It is a little tricky to get good looking arrows. As a first iteration you could do this - an example with x = t and x' = t^2, b...

circa 7 anni fa | 0

Risposto
keeping the distance between objects
I don't think the problem has an answer. There is one very obvious fact that has been embarrassingly missed. It is not possib...

oltre 9 anni fa | 0

Risposto
keeping the distance between objects
with this cutoff function you wrote, am I not retaining something like 5 s 304 mm 5.01 s 305 mm etc. when I re...

oltre 9 anni fa | 0

Risposto
How can I find the location of the minimum and maximum
[maxvalue, index_of_max] = max(C); [minvalue, index_of_min] = min(C);

oltre 9 anni fa | 0

Risposto
Find s, such that det(A+s*D) = d.
Since A is non-singular, we can write (warning: below is math, not code) M = A + s*D => M/A = I + sD/A (where D/A s...

oltre 9 anni fa | 1

| accettato

Risposto
Should have been simple to read a class instance from .mat via C++, but wasn't
I guess one has to learn the hard way sometimes - but you always end up learning something - so the effort is not entirely waste...

oltre 9 anni fa | 0

Risposto
Should have been simple to read a class instance from .mat via C++, but wasn't
On the other hand the bad news on <http://www.mathworks.in/help/matlab/matlab_external/custom-applications-to-read-and-write-mat...

oltre 9 anni fa | 0

Risposto
Should have been simple to read a class instance from .mat via C++, but wasn't
Actually, I have only used the mex and mx API in the dll not the matXXX API. I'll test your code out later, but one thing I noti...

oltre 9 anni fa | 0

Risposto
Should have been simple to read a class instance from .mat via C++, but wasn't
The following works on my system (matlab 2014a) compiled with VS 2013. All error checking omitted to avoid excess typing. In...

oltre 9 anni fa | 0

Risposto
Should have been simple to read a class instance from .mat via C++, but wasn't
OK, you are the victim of indifferent documentation. If you check the example matdgns.c file in your matlab installation in: ...

oltre 9 anni fa | 0

Risposto
Should have been simple to read a class instance from .mat via C++, but wasn't
Can't see any error in your code. Perhaps you could make one change. Try using matGetNextVariable(), instead of matGetVariabl...

oltre 9 anni fa | 0

Risposto
keeping the distance between objects
I assume: 1. The rope is fixed at Gx3 but free to move through all the other hooks. 2. Also you know the distance of each ...

oltre 9 anni fa | 0

| accettato

Risposto
I have a time domain signal.I want to calculate energy of my signal......
I'm not sure what your question is, but if you want to understand how it works, you will have to study the "Discrete Time Fourie...

oltre 9 anni fa | 0

Risposto
What is the meaning of "-largeArrayDims"?
Without -largeArrayDims, the index type (mwIndex) in files that you compile with the matlab libraries is typedefed as 'int' (in ...

oltre 9 anni fa | 2

Risposto
Finding indices when the curve stops decreasing
For some reason, didn't see the part about the noise. In that case prior smoothing would be an option. Another more involved, bu...

oltre 9 anni fa | 0

Risposto
Finding indices when the curve stops decreasing
Suppose the maximum was at index im. Then take: dyrgt = diff( y(im : end) ); dylft = diff( y(im : -1 : 1) ); irgt =...

oltre 9 anni fa | 0

Carica altro