Beantwortet
how to apply FIR filter on an image?
doc hilbert

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 2

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 0

Beantwortet
selecting elements from an array
idx = myArray( end, : ) < 0; negLastElementCols = myArray( :, idx ); theRest = myArray( :, ~idx );

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

Beantwortet
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 );...

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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); ...

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Mehr laden