Answered
How to use interp1() on table?
Since |data| is a table, so is |data(:, 2)|. To get the array stored in that column: DTn = data{:, 2}; %or DTn = data...

10 years ago | 0

Answered
How to pass input parameter in a function handle
Yes, you simply need to wrap your function handle into an anonymous function where the parameters are set. In your case: %%...

10 years ago | 0

| accepted

Answered
for loop with cells and Excel
As Marc said, you're replacing your whole char array by just one line of the char array inside the loop. Also note that |fin...

10 years ago | 0

Answered
How to fix: Cell contents assignment to a non-cell array object?
Well, clearly either |paramMat| is not a cell array, or the cell at |paramMat{kk}| does not contain a cell array. Your code is e...

10 years ago | 0

Answered
provide me with explanation for this part -
If you told us which bit of the line you do not understand we could provide a better answer. There's nothing particularly obscur...

10 years ago | 0

Answered
Error using floor() and ceil() for specific values between o and 1
I'm not too clear on what the problem exactly is, but, if you're trying to find the nearest number above or below your input in ...

10 years ago | 0

| accepted

Answered
How can I copy a graph in excel and paste it into word?
This is not really a matlab question as the code you'd write in matlab would be the same VBA code you'd write in Excel / Word to...

10 years ago | 1

Answered
how can i fix this error?
Presumably one of |R|, |theta|, |sign| (!), |u|, |y|, or |c| is not scalar but a matrix or column vector. You can't horizontally...

10 years ago | 0

| accepted

Answered
checking physical address of the computer
There's no built-in function in matlab to get MAC addresses (or other hardware related information). You would have to delegate ...

10 years ago | 2

| accepted

Answered
i want to enter the formula y=0.1*cos(x)+(3+0.25*x)*sin(x) but it shows an eroor again and again that the inner matrix dimensions must agree.how to solve this?
Replace your formula with: y = 0.1*cos(​x) + (3+0.25​*x) .* sin(x); %note the .* instead of * and read <http://www.math...

10 years ago | 2

Answered
ismember cell array of string and double vector
See my comments to your question, the example you provide does not match the title of your question. Assuming: list_1 = {'3...

10 years ago | 0

| accepted

Answered
How do I move an svn repository to another folder and have Matlab still see it?
First some proper terminology and explanation. A subversion *repository* is the central location where the code is versioned. Id...

10 years ago | 0

Answered
How do I use indexing (vectorization?) rather than for loops for dynamic field referencing into a cell array?
I'm suprised you get |Expected one output from a curly brace or dot indexing expression| as an error and not |Argument to dynami...

10 years ago | 0

| accepted

Answered
Added functionallity for ind2sub
As Walter says, to get that implemented you need to suggest that to Mathworks with a <http://www.mathworks.com/support/servicer...

10 years ago | 0

Answered
how to find values and following values in a struct
Personally, I think that using dynamic field names is just as bad as using dynamic variable names, and yours is a perfect exampl...

10 years ago | 1

| accepted

Answered
Make an image darker with overlay of another image
If I understand correctly, <https://helpx.adobe.com/photoshop/using/blending-modes.html darken> just select whichever colour is ...

10 years ago | 0

| accepted

Answered
How do you separate the contents of one cell into separate columns?
The simplest way is probably to use the 'split' option of <http://www.mathworks.com/help/matlab/ref/regexp.html |regexp|>: ...

10 years ago | 1

Answered
How to use arrayfun with a function that has different dimensions inputs
I don't have the parallel computing toolbox so can't check for sure, but as far as I'm aware |arrayfun| does not do parallelisat...

10 years ago | 0

Answered
How to get creation date of files
On windows you can simply delegate to .Net d = system.IO.File.GetCreationTime(fullpath)

10 years ago | 10

Answered
How do I use the matlab.lang.makeValidName in a proper way to change name on my Excel sheets in a for-loop?
As you've done it there is no need to wrap the string |sheets{i}| into a cell array. The problem you have comes from that and no...

10 years ago | 0

| accepted

Answered
max and min complex number
It can be <http://math.stackexchange.com/questions/487997/total-ordering-on-complex-numbers proven> that complex numbers cannot ...

10 years ago | 3

| accepted

Answered
make the white background transparent
First, to answer your exact question: it's not possible in matlab, since matlab does not have a concept of a transparency channe...

10 years ago | 4

| accepted

Answered
Functionalities to see the similarities in between - images which are translated (shifted) or zoomed in?
Finding the shift between two identical images is easy. Simply <http://www.mathworks.com/help/signal/ref/xcorr2.html cross-corre...

10 years ago | 1

| accepted

Answered
Can I use case 1 || case 2 while using switch thread?
As per the <http://www.mathworks.com/help/matlab/ref/switch.html documentation of |switch, case, otherwise|>, to include several...

10 years ago | 3

| accepted

Answered
How do I simplify this command by avoiding cycle
|bsxfun| wouldn't work for this. |sub2ind| will, but it won't be pretty: numpages = size(tempImg, 3); destrows = repmat(...

10 years ago | 0

| accepted

Answered
How to delete and change string in cell array?
On the assumption that the first |_| is always between the day and the year, *and* that the year is always 20xx, *and* that the ...

10 years ago | 0

Answered
One firgure from already created figures
Here is one way to do it. The following assumes that no other figure exists. It also assumes that there is only one axes per fig...

10 years ago | 0

Answered
How to apply fprinf for matrix
Why not simply use <http://www.mathworks.com/help/matlab/ref/dlmwrite.html |dlmwrite|>? dlmwrite('test.csv', M, 'delimiter'...

10 years ago | 2

Answered
Not enough input arguments help needed for assignment
Well, the error is fairly clear. You haven't supplied the one argument required by your function. You need to call |dis| like...

10 years ago | 0

Answered
Searching for a particular substring in a Text file
It's not exactly clear what the actual format of your text file is. Are all entries just separated by one space? Anyway, if t...

10 years ago | 0

| accepted

Load more