Answered
Inserting Data into SQL database table without database toolbox
You have Inserted = {acell, TC, frz, melt, frzminpass, frzmaxpass, meltminpass, meltmaxpass,... npfrz, npmelt, frzslop...

8 years ago | 1

| accepted

Answered
How to find blockwise mean of HSV local histogram for an image?
image1 = HSV(1:r3, 1:c3); Since you don't specify anything for the 3rd dimension, it's the same as if you specified 1, so t...

8 years ago | 0

| accepted

Answered
How to replace char 'null' in number 0?
It's much easier to read your file with <https://www.mathworks.com/help/matlab/ref/readtable.html#btx_238-1-filename |readtable|...

8 years ago | 0

| accepted

Answered
How to identify the nth largest components in binary image stacks
First, I would encourage you to address the questions I've raised as they're all logic gaps in your code. Rather than looping...

8 years ago | 0

| accepted

Answered
I use this code for averaging the neighbourhood but i got 3 time enlarged image any one help me
If by three times larger you mean that your result image has three times the columns (but the same number of rows), that would b...

8 years ago | 0

| accepted

Answered
Why am I getting this error for functions and how to fix it
It looks like you're pasting your function code to the command line. This is never going to work. The function code needs to go ...

8 years ago | 1

| accepted

Answered
Tricky matrix conversion question
Actually, it can be done fairly easily without a loop. Whether or not it's faster than Adam's loop, I haven't tested. A = [...

8 years ago | 1

| accepted

Answered
Initialise a table which contains a structure and a sub-structure
_Subscripted assignment between dissimilar structures_ This is because you're trying to change one element of a structure arr...

8 years ago | 0

| accepted

Answered
Searching multiple Strings in file
_but got no satisfying results_ And what is a _statisfying result_? Is this what you're after? filecontent = fileread...

8 years ago | 0

| accepted

Answered
i have 16 different types of files and i have to take the files in the bunch of 2 from the 16 files, how i put permutation and combination to get 2 files from the 16 files each time differently?
Since there are only 240 combinations, it's trivial to generate them all as a 240x2 matrix: allperms = nchoosek(1:16, 2); ...

8 years ago | 0

| accepted

Answered
How do I take complex and real values from a nested for loop script and have them printed in a single array?
_"I’m aware that the numbers that are calculated won’t make sense for the lower efficiencies. I still need all values including ...

8 years ago | 0

Answered
Struct contents reference from a non-struct array object
_"when any struct a,b,c is empty"_ If |a| is empty (i.e. |a = []|), then it *is not a structure*, and |a.d| doesn't mean anyt...

8 years ago | 0

| accepted

Answered
How to reduce unwanted pixels?
Your image looks like a shadowgraph or schlieren image of some spray and it looks like you've got some very strong density gradi...

8 years ago | 0

| accepted

Answered
All possible branch structures starting from one point
There isn't a dedicated function for that but it shouldn't be too difficult to write your own using matlab <https://www.mathwork...

8 years ago | 1

Answered
plot binary vs time
If you want +1 and -1, why don't you store that in the first place in your vector instead of 1/0? if zz > 0 a = 1; ...

8 years ago | 0

Answered
qt erreur 0xc0000135
|0xC0000135| is possibly <https://msdn.microsoft.com/en-gb/library/cc704588.aspx |STATUS_DLL_NOT_FOUND|>. Make sure all the requ...

8 years ago | 0

Answered
How to replace a number in an array with a different function
toreplace = n>3000; %find is a waste of time. Use the logical array directly n(toreplace) = v(toreplace)*60*i_2 / 2*pi*r; ...

8 years ago | 1

| accepted

Answered
Cant figure out why this code isn't working...
I don't know where you've seen the syntax |I>k>0|. Certainly, not in any matlab course. |I>k>0| is processed as |(I>k)>0|. |(I>k...

8 years ago | 0

Answered
How to define a "short" variable in MATLAB ?
Glad it's working. I'm still writing an answer as I want to clarify what's happening in matlab. When you call a dll, COM, or ...

8 years ago | 2

| accepted

Answered
How to put a 3D element in every place of a 3D matrix?
im1(1:10, 1:10, :) = repmat(im2(1, 1, :), [10, 10, 1]);

8 years ago | 0

Answered
check parameter used by function with large memory
_I used figure ('visible','off') in my loop, but I have clear the invisible figure at end of each loop_ f = figure; clea...

8 years ago | 0

Answered
How can I calculate the delta time for each line?
It is important to use valid matlab syntax when describing your data so it's not ambiguous what exactly you have (and also it's ...

8 years ago | 0

Answered
To Arrange Count Numbers
The label value assigned to a blob by |bwlabel| or similar function *is not random*. Objects are labeled in order from left to r...

8 years ago | 0

Answered
MATLAB can't create a vector -10e-6:10e-6 of a certain length. Anyone knows how to do it?
This is very basic matlab here. a:b generates numbers from a to b *in step of 1*, so it generates |[a, a+1, a+2, ..., a+...

8 years ago | 1

Answered
How do i use for to populate matrix
The text of the error does not match the code you're showing. Your code has the line x(j,:) = A((j-1)*xi+1:j*xi,1); The ...

8 years ago | 0

| accepted

Answered
how can I reshape vector data into a matrix
_How do I reshape this to make the 3rd column into a 2x2 matrix, so that the whole thing can be graphed as a surface?_ You do...

8 years ago | 0

| accepted

Answered
Sorting data by the first two letters in a text string
My advice would be *not to split the table* into multiple tables. If you want to perform some calculation per genome set it can ...

8 years ago | 1

Answered
Error: "Cell contents assignment to a non-cell array object."
Error on Glx_AlphaTissCorr{count} = Glx_AlphaTissCorr Well, the error is clear, |Glx_AlphaTissCorr| is not a cell arra...

8 years ago | 0

| accepted

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

8 years ago

Answered
Iterating Through Data to Create Tall Table
Since a tall table/array can't fit in memory it needs to have a backend from which to fetch its content as required. That backen...

8 years ago | 0

| accepted

Load more