Answered
FDS and Matlab: Reading and writing an array in a file text
Oh, your problem is actually with constructing the replacement string, not the actual replacement in the file. Yes, that's not ...

6 years ago | 0

| accepted

Answered
Code failure on recent version of MATLAB
So, it sounds like filename is a relative path or a just a filename. Either way, it relies on the file being in the current fold...

6 years ago | 0

| accepted

Answered
Work with DLL file
Your dll function takes 3 inputs, the first two are scalar numeric indeed. The snippet of documentation you show is not very cle...

6 years ago | 0

Answered
How to get the coordinates of two points?
I'm a bit confused by your question. You pass the coordinates of the points to plot, so you already know these coordinates: 1st...

6 years ago | 0

Answered
Help me about the following error: Index in position 3 exceeds array bounds (must not exceed 1).
Oh! I did think it could be because you had a greyscale image, but since you had a call to rgb2lab I assumed it couldn't be the ...

6 years ago | 0

Answered
Removing <missing> from cell arrays
Note that, as with most matlab functions, calling rmmissing without assigning its output to anything is a big waste of time. You...

6 years ago | 1

| accepted

Answered
How to convert a rgb image to CLElab color space?
I've never heard of CLElab and a quick search doesn't find anything related to colour spaces, so I think you can safely assume t...

6 years ago | 0

| accepted

Answered
Elements of table equal to elements of another table
I'm not entirely clear what the ultimate goal is but one thing for sure, you don't need a loop at all. To keep only the rows of...

6 years ago | 0

| accepted

Answered
How can I create a table or matrix of 193 rows and 117 columns?
Your description is really not clear and more importantly, it's very unlikely that what you're trying to do is the correct appro...

6 years ago | 0

| accepted

Answered
Automation of for loops and array dimesion
Assumption: the matrices returned by pro, Rq, Rp, and ss2ss are all the same size (size defined by pro_outsize below I've not c...

6 years ago | 1

| accepted

Answered
slow for and while loops
After looking at it a bit more closely, what you're trying to do is a bit too advanced for synchronize. I would still recommend ...

6 years ago | 0

| accepted

Answered
I need only words when i split a string , while currently i am getting even spaces
Probably the easiest is to do: string2 = regexp(yourstring, '\w+', 'match')

6 years ago | 0

| accepted

Answered
Counting all NaN and Sequence NaN in tables
tables are at their most useful if they're not split into multiple tables. Splitting a table into multiple ones often complicate...

6 years ago | 1

| accepted

Answered
matlab how use format bank in cell arrays
There's several things here: Firstly, format only affects the way matlab displays numbers at the command prompt. It does not af...

6 years ago | 0

Answered
Import an excel column
It's all explained in the documentation which even gives you several examples xlsread(yourfile, 'Cartel1', 'C:C') Note that xl...

6 years ago | 0

Answered
Using timers in a class
The problem is most likely one of scope.I'm actually surprised that you first version works, but I never use the char array vers...

6 years ago | 1

| accepted

Answered
Error using horzcat dimensions are not consistent
Why are x and t symbolic? This just slows down everything for no gain. I'm not even sure that your code would work (but I don't ...

6 years ago | 1

| accepted

Answered
Matrix dimensions must agree error
The error message is very clear, R*f is not the same size as X (or a size compatible with X), hence you can't do the subtraction...

6 years ago | 0

Answered
How to do Table Look-up?
Matlab has you covered with unstack: desired_table = unstack(Processed_Data, 'Value', 'Name') You'll get NaN for missing value...

6 years ago | 2

| accepted

Answered
Is function "nprocess(x,y,z)" still avialable?
Doing a search for matlab nprocess with your favorite search engine shows that nprocess may be part of either this Filexchange e...

6 years ago | 1

| accepted

Answered
How to pass the object name as a selectable property?
You can, since hgtransform support dynamic properties, so you could do something like: %create the properties: ASSEMBLY.addpro...

6 years ago | 0

| accepted

Answered
Single array inside cell to double
If you want to convert each matrix inside the TEMP cell array to double, then: something = cellfun(@double, TEMP, 'UniformOutpu...

6 years ago | 0

| accepted

Answered
getting errors in running this.
I would recommend you use readtable instead of importdata. importdata may not return what you expected if the file format change...

6 years ago | 0

Answered
How to use regexp for the following?
If you want to extract two uppercase letters followed by four digit: regexp(yourinput, '[A-Z]{2}\d{4}', 'match') I recommend t...

6 years ago | 0

| accepted

Answered
How to get a specific variant of the greek symbol tau?
The latex symbol for this is \uptau, unfortunately matlab latex parser doesn't support it. As Sindar commented, you can try to ...

6 years ago | 1

| accepted

Answered
Measuring the width and hight for smallest Bounding Boxes of detected objects
For the area of Bounding Boxes what is the unit used? pixel squared. If you want to convert to physical unit (e.g. ) you need t...

6 years ago | 0

| accepted

Answered
Assigning values to nodes of a graph
It sounds like you want to associate a unique ID to each node, one that doesn't change if you alter the graph. You can't use the...

6 years ago | 1

| accepted

Answered
If a variable holds a bunch of images, what does (:, :, 1, i) mean?
The code you have assumes that the file contains a multiframe image with at least 100 frames. If the file has less frames the co...

6 years ago | 1

| accepted

Answered
not enough input arguments
Clearly, you've called the function without any input argument. Possibly, you've clicked on the green run button which is not go...

6 years ago | 0

| accepted

Load more