Réponse apportée
how to apply FIR filter on an image?
doc hilbert

environ 9 ans il y a | 0

| A accepté

Réponse apportée
hello,who has done the task of time delay estimation algorithm?can you give me a algorithm?thanks.
If you have the Signal Processing Toolbox: doc xcorr doc alignsignals doc finddelay You'll have to do some reading...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
How to specify the RGB color of each line in a waterfall plot?
I'm not really familiar with waterfall plots, but when I run your code there are 15 lines and the CData is also 15x25 so I'm n...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
how to remove outliers of a data list
doc prctile if you have the Statistics toolbox. If not it is easy enough to calculate percentiles in your own function. ...

environ 9 ans il y a | 0

Réponse apportée
How 'imread' function works in Matlab?
They aren't 'calculated', they are read in from the file as the name 'imread' and the help suggest.

environ 9 ans il y a | 1

Réponse apportée
log2 function has incorrect help text
There is a 'Was this topic helpful?' question at the bottom of each help page. Click 'No' on that and you get a chance to give ...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
How can I test if an input value is an integer?
I use e.g. validateattributes( myInteger, { 'double' }, { 'scalar', 'integer' } ) for validating my input arguments. No...

environ 9 ans il y a | 1

Réponse apportée
How to manage more than one GUI ie main GUI and sub GUI?
doc uiwait doc uiresume These are what you need if you want a 2nd UI to have focus and for the main program that launche...

environ 9 ans il y a | 2

| A accepté

Réponse apportée
Why does Matlab not recognize my .txt file as readable using csvread, and how do I fix it?
Unless TestWaveform1Edit is a variable containing the name of your file then of course this will not work. The filename needs t...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
Finding the time difference between both my functions
If you put them in a single file (obviously with different names) that starts with a function (name it whatever you want, but it...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
Error message: "Undefined function or variable 'loadfile_CreateFcn'"
CreateFcn is something that GUIDE creates automatically for you which I assume you have deleted. Find the button in GUIDE, go t...

environ 9 ans il y a | 0

Réponse apportée
selecting elements from an array
idx = myArray( end, : ) < 0; negLastElementCols = myArray( :, idx ); theRest = myArray( :, ~idx );

environ 9 ans il y a | 0

| A accepté

Réponse apportée
Can I run and store results from a for loop individually?
You said your variable was called x0 yet you are trying to use 'x' and do an in-place assignment. Also you try to access x(i-1)...

environ 9 ans il y a | 0

Réponse apportée
From what version of MATLAB are the commands 'vpa' and 'digits' supported?
You need the Symbolic Math Toolbox for these and both have been in since R2006a. You could have found this (as I have just no...

environ 9 ans il y a | 0

Réponse apportée
Finding the means of a large number of individual matrices.
Put your 8*8 images into an 11092*8*8 double array instead of 11092 individual variables, that is insane! Then calculating th...

plus de 9 ans il y a | 1

Réponse apportée
undefined fuction 'buttonDownCallBack' for input argument
Well, from what you have shown, the obvious answer is that you haven't defined a function called 'buttonDownCallback' just as th...

plus de 9 ans il y a | 0

Réponse apportée
How to i get binary number from image ?
If the image is greyscale and only has values of 0 or 'non-zero' then it is just trivially binaryVals - logical( myImage );...

plus de 9 ans il y a | 0

Réponse apportée
gca when using subplots
The subplot call includes a return argument which is the axes handle for that subplot. I would advise to always use this form a...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Why do i get the message" too many output arg"
Surely this is obvious from the error message? doc audioread shows (in Matlab R2016b, at least) that audioread only has ...

plus de 9 ans il y a | 0

Réponse apportée
Processing purely imaginary numbers
You can just use imag( myVector ) to get the imaginary part as a standard non-complex double and then do your maths on t...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Organizing data into cells
When you load data from .mat files use the S = load(...) form instead, then you get a struct with your variables as fiel...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
How to have my array continuously expanding in a for loop?
You'll have to use a cell array since they will be of different lengths for each row e.g. stuck{n} = M(n,1):0.1:M(n,2); ...

plus de 9 ans il y a | 0

Réponse apportée
The expression to the left of the equals sign is not a valid target for an assignment.
What goes wrong is that the three dots are not valid syntax in that context. Or rather they are valid, but don't do what you ...

plus de 9 ans il y a | 0

Réponse apportée
Dendrogram with custom colouring
If you use the hLines = dendrogram(...) syntax you will get an array of handles as output. These will be handles to the...

plus de 9 ans il y a | 0

| A accepté

A résolu


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

plus de 9 ans il y a

A résolu


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

plus de 9 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

plus de 9 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

plus de 9 ans il y a

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

plus de 9 ans il y a

A résolu


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

plus de 9 ans il y a

Charger plus