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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

Respondida
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')

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 2

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

Respondida
I have a table in Matlab with one column - '{"camera":{"avg":1,"exposure":1,"gain":0},"encoding":"utf-8","fft":{"carrier":{"x":1422,"y":614}},.. I would like to search and store single values, like 'y': 614 from this data. Is there a way i can do it?
It's not clear how your data is stored. However, what you show is json encoded which is easily decoded with matlab: %demo text....

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

Cargar más