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

8 Monate vor | 0

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

8 Monate vor | 0

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

8 Monate vor | 0

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

8 Monate vor | 0

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

8 Monate vor | 0

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

8 Monate vor | 1

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

8 Monate vor | 0

| akzeptiert

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

8 Monate vor | 0

| akzeptiert

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

8 Monate vor | 1

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

8 Monate vor | 1

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

8 Monate vor | 0

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

8 Monate vor | 1

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 1

Beantwortet
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 Monate vor | 0

Beantwortet
Matlab sorting numbers oddly
You probably want to use https://www.mathworks.com/matlabcentral/fileexchange/47434-natural-order-filename-sort The filename o...

8 Monate vor | 2

Beantwortet
Fixing an old script containing JavaFrame / JavaContainer
All Java functionality associated with MATLAB figures is gone, never to return. jvi.setFigureIcon(ImageIcon(getfigureicon))...

8 Monate vor | 0

| akzeptiert

Beantwortet
Function not returning updated struct
When you create uicontrol, they are created and displayed (if appropriate), and then flow immediately continues onward without w...

8 Monate vor | 0

| akzeptiert

Beantwortet
How to rotate domain, but the lon and lat are on the contour (not on the axis)
You need to first calculate the tilt angle of the valid part of the data, then rotate by the negative of that angle so that the ...

9 Monate vor | 0

| akzeptiert

Beantwortet
Error using integral2Calc>integral2t/tensor (line 231) Input function must return 'double' or 'single' values. Found 'sym'.
h = 0.00172; rho = 1620; L = 100*h; c=L*L/4; M=10; N=10; syms xi eta shape_w=sym(zeros(M,N)); x_m=sym(zeros(M,1)); y...

9 Monate vor | 0

Beantwortet
Enable/disable on radio button in app designer
You can create app.bg as a uibuttongroup and populate it with uiradiobutton . Later, you can bc = [app.bg.Children]; set(bc(1...

9 Monate vor | 0

| akzeptiert

Beantwortet
Simulation run time vs. PC
https://versus.com/en/intel-core-i7-11850h-vs-intel-xeon-gold-6234 The core-i7 (laptop) is 10 nm compared to 14 nm is 35W p...

9 Monate vor | 0

Beantwortet
Offline Documentation for macOS AppleSilicon
This is a known issue; https://www.mathworks.com/matlabcentral/answers/2177941-why-am-i-not-able-to-download-the-macos-offline-d...

9 Monate vor | 0

| akzeptiert

Beantwortet
first order PDE , verification of one solution
syms x y real syms f(x_minus_y) v1 = diff(f(x-y),x) v2 = diff(f(x-y),y) ver = v1 + v2 simplify(ver) Which is not zero. I...

9 Monate vor | 0

Beantwortet
I can't connect the PWM generator G output to the active rectifier output in an EV on-board charging system design
Since you are talking about connecting a "G" gate, I deduce that your PWN block is "PWM Gate Signal Generator (Three-phase, Two-...

9 Monate vor | 0

Beantwortet
Precision lost when combining Int32 integers with single precision numerical numbers
The general rule is that when you combine numbers of two different types, that the result is the type that is considered more re...

9 Monate vor | 1

Mehr laden