Answered
Classification of bikes detection
This is pretty much impossible to do reliably. I posted proof at https://www.mathworks.com/matlabcentral/answers/264009-i-need-a...

3 years ago | 0

| accepted

Answered
how to pass keyword arguments to a function via a struct
See https://www.mathworks.com/matlabcentral/answers/520619-can-matlab-s-arguments-function-handle-structs#answer_694260

3 years ago | 0

| accepted

Answered
Unrecognized function or variable 'longitudeToIntrinsicX'.
I predict that your R returned from readgeoraster is empty or else that the file refers to projected coordinates. readgeoras...

3 years ago | 0

| accepted

Answered
How to define input parameters for BytesAvailableFcn (tcpclient)
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html

3 years ago | 1

| accepted

Answered
Why do I get this error and is it something to do with my code?
you created your own height.m that is interfering with the Mathworks height function

3 years ago | 0

Answered
Limit length of a string
https://www.mathworks.com/help/matlab/ref/extractbefore.html This can be used in an expression without modifying the variable...

3 years ago | 0

Answered
When plotting in 3D space, what to do to make 1 unit look the same length on each axis?
https://www.mathworks.com/help/matlab/ref/daspect.html

3 years ago | 0

| accepted

Answered
How do I remove the Ans from the result
Questions about a different programming language should be addressed to the appropriate support resources for that programming l...

3 years ago | 0

Answered
Error using logical operators on a string input
input with the 's' option returns a character vector, possibly with multiple characters, possibly empty. isstring() for it will ...

3 years ago | 1

Answered
why MATLAB is busy for this code?
My tests show it executing quickly but failing the plot. annihilation is 15x15 so your Vnorm variables are 15x15. You [] 6 of...

3 years ago | 0

| accepted

Answered
Second argument must be a vector of symbolic variables error
omega1_v = [0 0 omega1] That is a vector that includes numeric values. You cannot solve for a numeric value. You should be ...

3 years ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
Put a breakpoint at the line that is causing the problem. When it gets there, ask whos Grr v R1 R2 Fr There are some combinat...

3 years ago | 0

Answered
How to add headers to an array and output to a text file?
One way: Put the various values into a cell array, and then writecell() Another way: Construct a string array from the variou...

3 years ago | 0

Answered
Unable to resolve the name 'dspproject_g7.time'.
Change may = xlsread('signal.xls','GROUP7','A2:B101') time = dspproject_g7.time; amplitude = dspproject_g7.amplitude; to ma...

3 years ago | 0

Answered
Russian characters in the latex interpreter when signing the axes of the graph
Sorry, that is not possible in MATLAB itself. It might possibly be possible in text generated through the Report Generator.... ...

3 years ago | 1

| accepted

Answered
How to create for loop on date?
S = dateshift(datetime('now') - days(300), 'start', 'day') for D = S : calmonths(1) : S + calmonths(5) D end However... ...

3 years ago | 0

Answered
Hardware's to deploy machine learning codes
There is a long list of options; see https://www.mathworks.com/hardware-support/home.html You have the difficulty that you hav...

3 years ago | 0

Answered
add data for plot
See https://www.mathworks.com/help/matlab/creating_plots/create-custom-data-tips.html Note that this can only be used for some...

3 years ago | 0

Answered
how to work with a variable as a function of time?
Changing the notation: syms theta(t) dtheta = diff(theta,t) derivative = diff(sin(theta),t) syms theta_dot(t) subs(derivati...

3 years ago | 0

| accepted

Answered
Why does the order of calculation change the result?
%missing variables syms Mass m0 %rest of code syms scale positive Pi = sym(pi); Q = @(v) sym(v); dz = scale/100; Ltot...

3 years ago | 0

Answered
Error combining netcdf files
You have the code structure if is_overlap_allowed %stuff here MV.all = cell2mat( MV.val(:) ); else for ii = 1:l...

3 years ago | 0

Answered
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side
The character vector received in out does not convert to exactly one numeric value . You should assign the converted value to...

3 years ago | 0

Answered
'integral' with piecewise expressions
Use matlabFunction with the piecewise expression, giving the 'file' option and 'optimize' false. And when you integral specify '...

3 years ago | 1

Answered
Image denoising using wiener filter
The filter does not support rgb images. The great majority of jpg are rgb images even if they look gray. You should rgb2gray or ...

3 years ago | 0

| accepted

Answered
can someone help me to understand what is the error in this?
yy3 = -(y(1)*y(3)+2*y(3))/2*E; ysol = [y(1);yy1;yy2;yy3]; Your E is a row vector of length 5. Your yy3 uses the enti...

3 years ago | 0

Answered
I want to create an .exe file from a .m file. I get the following error message (see belove)
You do not need any of those repmat -- not unless some value that is input() is a non-scalar. If the input() values are scalars...

3 years ago | 0

Answered
Saving images inside a loop with changing filename
imwrite(I,'[ fo{1,1} '_' 'Roi' '_' num2str(index)].tiff') You start a character vector. The first character of the vector is t...

3 years ago | 0

Answered
Area of contor from Matrix
See https://www.mathworks.com/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data?focused=5249779&tab=function and ...

3 years ago | 0

Answered
What algorithm does isosurface command use?
This is not documented for @doc:isosurface, but extractIsosurface documents that that second function uses Marching Cubes

3 years ago | 0

| accepted

Answered
Codes for coherent state function?
syms alpha n result = symsum(exp(-abs(alpha)^2 * alpha^n / sqrt(factorial(n)) ), n, 0, 10)

3 years ago | 2

| accepted

Load more