Answered
array exceeds limits when scanning serial info
I'm a bit confused by all the code you've posted. If I understood correctly the problem is with: in = char(zeros(1,14)); decis...

24 days ago | 0

| accepted

Answered
How to say remove "-1" from the end of a string if exists?
easiest way is probably with: newarray = regexprep(yourstringarray, '-1$', ''); works with cell arrays of char vectors as well...

24 days ago | 2

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

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

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

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

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

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

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

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

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

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

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

29 days 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')

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

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

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

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

1 month ago | 0

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

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

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

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

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

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

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

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

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

1 month ago | 0

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

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

1 month ago | 1

| accepted

Load more