Community Profile

photo

SK


X

Last seen: 4 Tage vor Aktiv seit 2012

Statistics

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

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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...

8 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

mehr als 2 Jahre vor | 0

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

etwa 3 Jahre vor | 0

Beantwortet
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 ...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 3

Beantwortet
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...

mehr als 4 Jahre vor | 0

Frage


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...

mehr als 4 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


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...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
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...

mehr als 5 Jahre vor | 1

Beantwortet
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 ...

mehr als 5 Jahre vor | 0

Frage


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...

mehr als 5 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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: ...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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 ...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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 ...

etwa 8 Jahre vor | 2

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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 =...

etwa 8 Jahre vor | 0

Mehr laden