Respondida
Is there a good reason for choosing assert() over an if condition with an error?
My personal style is that assert() is mostly for conditions that should always be true contextually, with the assert() being dou...

7 meses hace | 0

Respondida
Which window is "on top"?
get(groot,'CurrentFigure') However, I do not know at the moment whether CurrentFigure includes figures whose handle visibility ...

7 meses hace | 0

Respondida
How to change the menu appearance in a gui created by GUIDE
You can make limited changes by coding (for example) set(groot, 'DefaultTextFontSize', 14)

7 meses hace | 0

Respondida
Please 🙏 help me to find the exact solution of ODE
syms C1 C2 y(x) dy = diff(y); d2y = diff(dy); eqn = y^2 * d2y + y*dy^2 - dy^2 + C1*y^4 + C2*y^3 == 0 dsolve(eqn)

7 meses hace | 0

Respondida
Difference between integral and cumtrapz.
integral() takes a function handle and does an adaptive quadrature numeric integration of the given function. The adaptive quadr...

7 meses hace | 1

Respondida
Is my CNN Correct
There are definitely more than 10 possible layers at any point. Your system has 12 layers. Therefore there are over 10^12 poss...

7 meses hace | 0

Respondida
why do I receiving MATLAB licensing error 5013
See https://www.mathworks.com/matlabcentral/answers/1815375-why-do-i-receive-error-5013-unable-to-access-services-required-to-ru...

7 meses hace | 0

| aceptada

Respondida
I want to clip a contour output to the interior of a closed polygon
Create a polyshape() with the boundaries of the enclosing polygon. Use isinterior to test the x, y coordinate pairs implied by n...

7 meses hace | 1

Respondida
Nvidia GPU GeForce 5060-5090
Are the Nvidia GeForce RTX 5060, 5070, 5080 and 5090 compatibile with Matlab R2025a? NO. Given that R2025a was realeased six m...

7 meses hace | 2

| aceptada

Respondida
2-D plots don't render correctly in Figures window
The partial line is because of a known bug, https://www.mathworks.com/matlabcentral/answers/2177698-strange-behaviour-of-plot#an...

7 meses hace | 0

| aceptada

Respondida
Hold off in uitab does not seem to work?
ax = axes('parent',ft); Each time you execute that statment, you generate a new axes to plot in. You instead need some...

7 meses hace | 0

Respondida
Help with Inequalities In Switch Statement
To use inequalities in case statements, you need to provide a logical value to the switch statement. For example, switch true ...

7 meses hace | 0

Respondida
I am Currently using MALTAB using My college Email id...So whats the duration of this free software?
When you use MATLAB using your college email address, you are using a copy of MATLAB that has been licensed to the college thro...

7 meses hace | 0

Respondida
How do i fix the input to the 16 qam model not being bits
Use https://www.mathworks.com/help/simulink/slref/integertobitconverter.html on the output of the buffer.

7 meses hace | 0

Respondida
Problems plotting an implicit solution to a differential equation
syms y(x) eqn = diff(y) == (2*x+y+2)/(2*x+y-4); solutions = dsolve(eqn,x) impl1 = subs(solutions(1),[sym("C1"),x],[0,x]) imp...

7 meses hace | 0

Respondida
How to make MATLAB instance use specific CPU for parallel computing
https://www.how2shout.com/how-to/how-to-permanently-set-cpu-affinity-for-a-program-in-windows-11-or-10.html shows how to create ...

7 meses hace | 0

Respondida
Please help me, I want to graph this attached simple relation
The following is deliberately not exactly what you asked for, but illustrates the techniques you would use. Q = @(v) sym(v); a...

7 meses hace | 1

Respondida
details of fitnlm and statset
1) The 'Jacobian' statset() option is not relevant for fitnlm() The relevant options are listed at https://www.mathworks.com/h...

7 meses hace | 0

| aceptada

Respondida
Configure a callback in App Designer to be non-interruptable
The secrets to making a function uninterruptible is: write the code all on one line. MATLAB checks for interrupts at the beginn...

7 meses hace | 0

| aceptada

Respondida
What happened to line plots in Matlab 2025a?
The partial line is because of a known bug, https://www.mathworks.com/matlabcentral/answers/2177698-strange-behaviour-of-plot#an...

7 meses hace | 1

Respondida
How to convert color map into contour map?
YourImageArray = imread('Color map.jpg'); cropped_image = imcrop(YourImageArray, Crop_Rectange_Of_Image); cropped_colorbar = i...

7 meses hace | 1

Respondida
Matlab support flexera 11.19.6.3 and Windows server 2019 Licensing server?
MATLAB R2024a is not officially supported on Windows Server 2019; the last release that was officially supported on Windows Serv...

7 meses hace | 0

Respondida
what is the difference between pwd and cd ?
Both cd and pwd come from Unix. Historically cd in Unix was used to change directories, and had no ability to return the name o...

7 meses hace | 1

Respondida
Simulink parameters change during simulation from Matlab cmd line
It is not possible to change the parametrs of the running Simulink simulation model from Matlab command line while the model is ...

8 meses hace | 0

Respondida
Convert a decimal approximation to exact value symbolically
sympref('FloatingPointOutput',false); Will display an unevaluated int() form for your original problem, and will display 4/pi -...

8 meses hace | 0

Respondida
compiled matlab script where incorrect variables are passing
Note that double('1') so somehow you are getting a quoted 1 instead of a numeric 1. I would suggest trying matlab -nodisplay...

8 meses hace | 0

Respondida
solving a cubic equation
syms a b c d x sol = solve(a*x^3 + b*x^2 + c*x + d, x, 'maxdegree', 3) numsol = subs(sol, [a,b,c,d], [1.5, -2, 3/8, -5]) %...

8 meses hace | 0

Respondida
How to write a timetable to excel with rowtimes as dates without times?
For MacOS and Linux, it is not possible to PreserveFormat . About the best you can do on MacOS is to convert the timetable to ...

8 meses hace | 0

Respondida
error message 'The end operator must be used within an array index expression.'
It is likely that the error is in code before what was posted. For example, a(end)=1 This error occurs because end was used to...

8 meses hace | 1

Respondida
Make MATLAB output in strict ASCII
Is there a built-in function to convert these occasional UTF non-ASCII characters to a reasonable approximation in standard ASCI...

8 meses hace | 0

Cargar más