Answered
Issue with unrecognized createMask function
createMask is a method for roi objects, and would not be found unless you pass an roi object to it. If you have not created a...

4 years ago | 0

| accepted

Answered
change the hyphen (-) into minus sign (−, “U+2212”)
plot(randi([-60 60], [20, 1])) xticks(-60:20:60) set(gca, 'TickLabelInterpreter', 'latex') ytickformat('$%g$')

4 years ago | 3

Answered
how to use conditional statement realizing prime function
Hint: prime_detected = true for appropriate things if appropriate condition prime_detected = false; ...

4 years ago | 0

Answered
string matrix navigation with character string
[RowPos, ColPos] = find(ismember(DataSour, ToAssign))

4 years ago | 0

Answered
MATLAB not detecting Nvidia RTX 1050Ti on WIndows 11
Your post says Nvidia GeForce RTX 1050 Ti, but that black image says RTX 3050 Ti. That could make a notable difference in your R...

4 years ago | 0

| accepted

Answered
Eig takes too long
syms M [5 5]; M = M - diag(diag(M)); [V, D] = eig(M); When that eventually finishes (which will take a while), you ca...

4 years ago | 0

Answered
PLOT ARRAY OF SURF PLOTS IN ONE PLOT
load() each file. Extract column 3. reshape it as 614 x 588 and then transpose it to 588 x 614. Store in a cell array according ...

4 years ago | 0

| accepted

Answered
Error appear when triying to solve a system of ODES
Your dsolve assigns to uSol twice instead of assigning to uSol and vSol

4 years ago | 0

Answered
Restructuring table - converting row values to columns
https://www.mathworks.com/help/matlab/ref/rows2vars.html

4 years ago | 0

Answered
Read random mp3 melodies from youtube
https://www.mathworks.com/matlabcentral/fileexchange/19258-upload-a-video-to-youtube is designed to upload, but it calls upon a ...

4 years ago | 0

Answered
Will FlexNet 11.16.2.1 work with that version of Matlab?
No. https://www.mathworks.com/support/install/license_manager_files.html you need 11.18.1 for that release

4 years ago | 1

| accepted

Answered
Area between two curves without equation
imbinarize(), or() them together, fill holes, regionprops the area

4 years ago | 0

| accepted

Answered
Capitalize 1st word of an character array
regexprep(S, '[a-z]', '(??@upper($1))', 'once' )

4 years ago | 0

| accepted

Answered
Construct if cycle for two variables
status = (angle_transmitter + teta_flutuations_transm <= angle_receiver + teta_flutuations_reflec && angle_transmitter - teta_fl...

4 years ago | 0

| accepted

Answered
Can I restrict what path an App looks at for functions, when I have two Apps that use different versions of the same named function?
The MATLAB Path is respected at compile time. At run time, if you were running interactively, you could adjust the MATLAB path ...

4 years ago | 0

| accepted

Answered
why is it not plotting or graph? it comes out blank
f2=@(x,y1,y2) diff(y1) You will be calling f2 with numeric parameters, so the diff() that will be invoked will be the numeri...

4 years ago | 0

Answered
Symbolic integration of a multivariate expression
You currently have int() calls in your code. I cannot tell from what you posted whether you have already substituted B into Out...

4 years ago | 0

| accepted

Answered
What happened to eval function?
I think maybe you could get this error under the odd conditions: * you are inside a function * you assign to a variable name...

4 years ago | 1

| accepted

Answered
Converting whole numbers to scientific notation
Not with the default display routines, no. You can use sprintf() or compose() with %.4e format to get character vector or string...

4 years ago | 0

Answered
Is there a function that tells me the elapsed time as the elapsed time continues to run?
tic and tic have to do with computation time. You have two possibilities: * you can use etime() * you can datetime('now') an...

4 years ago | 0

Answered
why I get imaginary part using solve function
You have an expression of the form f(x^4)/g(x^2) + b = 0 Multiply through by g(x^2) (assuming nonzero) to get f(x^4) + b...

4 years ago | 0

| accepted

Answered
Is it possible to plot the output plot of multiple function on the same figure?
generally speaking you can use "hold on" or use subplot() or tiled layouts. However none of those will work for you as long as y...

4 years ago | 0

Answered
Some basic MATLAB questions
hint: floor(n*4) But be careful with the exact boundaries that are multiples of 1/4. For each of those exact values you shoul...

4 years ago | 0

Answered
function filterAllow* not recognized
That is not a general function. It is a *method* that applies only for https://www.mathworks.com/help/vnt/ug/canchannel.html can...

4 years ago | 0

Answered
Finding the minimum value
For the revised formula over real numbers the minimum value is when x and y differ as much as possible, in particular if the dif...

4 years ago | 0

Answered
I want to use mvnrnd for generating numbers,but there is error in my code
X = [X Y]; Before that statement X and Y are each 31 x 31. That statement puts them together to get a 31 x 62 Y=mvnpdf...

4 years ago | 0

Answered
Mex function is crashing MATLAB, is there any way to put this in a try/catch statement to avoid the crash
No, try / catch cannot deal with crashes in mex code. If you have the Parallel Computing Toolbox and use a 'local' pool and p...

4 years ago | 0

Answered
Does Matlab run on modern Mac OS chips/OS?
Much of MATLAB runs under Rosetta 2 emulation. Native version is being worked on, and there is currently an Open Beta of MATL...

4 years ago | 0

Load more