Community Profile

photo

SK


X

Last seen: 5 månader ago Active since 2012

Statistics

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

View badges

Content Feed

View by

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

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

nästan 4 år ago | 0

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

mer än 4 år ago | 0

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

mer än 5 år ago | 0

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

mer än 5 år ago | 0

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

mer än 5 år ago | 3

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

mer än 5 år ago | 0

Question


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

mer än 5 år ago | 3 answers | 1

3

answers

Question


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

mer än 5 år ago | 0 answers | 0

0

answers

Question


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

mer än 5 år ago | 2 answers | 0

2

answers

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

mer än 6 år ago | 1

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

mer än 6 år ago | 0

Question


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

mer än 6 år ago | 3 answers | 0

3

answers

Question


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

mer än 6 år ago | 1 answer | 0

1

answer

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

ungefär 7 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 1

| accepted

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

| accepted

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

mer än 9 år ago | 0

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

mer än 9 år ago | 2

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

Load more