Answered
Why is MATLAB not recognizing my variables in my switch block?
First, you probably want to have an otherwise block in your switch / case to handle the case where a user enters something other...

4 years ago | 1

Answered
Make an app from matlab app designer a executable .
Use the MATLAB Compiler product to create and deploy a web app.

4 years ago | 0

Answered
How can I adjust the patch function to display correctly?
I'm not sure patch is the right tool for this job. Have you tried using geoplot or perhaps patchm from Mapping Toolbox instead?

4 years ago | 0

Answered
convert value from radian form to degree form
See the deg2rad function.

4 years ago | 0

| accepted

Answered
Can log in on MathWorks website, cant in the MATLAB app on windows
Try renaming your flip.m script file located in: C:\Users\jonat\OneDrive\Documents\MATLAB\flip.m Its existence prevents MATLAB...

4 years ago | 0

Answered
list of users for specyfic license
Please contact Customer Service for help with license management.

4 years ago | 0

Answered
Error: Maximum recursion limit of 500 reached.
Do not call ode45 with 'Model' as the first input from within Model.m itself. Move the ode45 call (and the code necessary to cre...

4 years ago | 1

Answered
Make num2str in engineering format
If you're using release R2021a or later I would use formattedDisplayText instead of evalc. wcutoff = 5.2e10; t = formattedDisp...

4 years ago | 3

Answered
Example command not available
Do you have Communications Toolbox installed? Check using the ver function. ver comm

4 years ago | 0

Answered
How to find the changing point in figure?
Take a look at the ischange function.

4 years ago | 0

Answered
Why can't I open a file on MacBook?
I recommend not creating a variable named path, as path already has a meaning in MATLAB. See doc path for more information on th...

4 years ago | 1

| accepted

Answered
Custom defined data class not recognized
That class is part of the fwpck package. You will need to call it using the package name or import the package. y = fwpck.Globa...

4 years ago | 0

| accepted

Answered
I am having error using ode45 with Inputs must be floats, namely single or double
[r,eps_bar] = ode45(@(r,eps_bar)@(omega) (eps(r).(omega)-eps_bar).*(eps_bar+2.*eps(r).(omega))./(r.*eps(r).(omega)),tspan,1,opts...

4 years ago | 0

Answered
Computational speed when the array dimension is large
Have you tried a stiffer solver? See this post on Cleve Moler's blog for more information about stiffness.

4 years ago | 0

Answered
license for my app
For an official answer please contact Customer Service.

4 years ago | 0

Answered
i keep getting " root' requires Symbolic Math Toolbox. Error in newtonbisection (line 46) fprintf("Optimal root of the given function: %f\n\n",root)". how to fix that? thanks
What value is given to the variable root in the code if the while condition is not satisfied? while eps>tolerence The answer i...

4 years ago | 0

Answered
Too many input arguments
Do you need to implement Dijkstra yourself (as part of a homework assignment or school project) or do you just need to call some...

4 years ago | 0

Answered
double2str and bin2str
See the functions listed on this category page in the documentation.

4 years ago | 0

Answered
Why did this error message appear?
Since r is a double array, anything that you want to assign into it must be a double array or convertible into a double array. ...

4 years ago | 1

Answered
When will MATLAB dump its Java dependencies?
The Release Notes for release R2021a state "Java® packages and subpackages that currently ship with MATLAB will not be available...

4 years ago | 0

Answered
How to tell matlab to, instead of throwing an error message, give me a Boolean (e.g., 0 means I get error) when I try to use Horner command
Rather than explicitly type out a 32nd degree polynomial, why not use a for loop? Start with your accumulator containing the val...

4 years ago | 0

Answered
Why does MATLAB dot product function interpret r as 2 different variables. I want to use trigonometric identities. How can I fix it?
If you want MATLAB to assume that r is real, tell it that. syms r1 % r1 could be complex syms r2 real % r2 must be real x1 = ...

4 years ago | 1

| accepted

Answered
how to calculate the execution time of program?
tic and toc is one way to measure the performance of your code. Other ways include the timeit function and the Profiler.

4 years ago | 0

Answered
How to preserve nanosecond precision in datetime calculations (for large numbers)
Start off with the time as a symbolic object. dt=sym('1294871257.002060945'); If you don't and just start with dt as a double ...

4 years ago | 2

| accepted

Answered
Algorith doesnt work in program code for Thomas algorithm
If this is a homework assignment, I'm guessing there may be at least one or two examples in your textbook where they walk throug...

4 years ago | 0

Answered
Combine data from 3 tables based on common datetime?
Are you storing your data as table arrays or as timetable arrays? If the former, consider converting the table arrays to timetab...

4 years ago | 0

Answered
How to delete all rows of a matrix wherever any value is invalid (999)?
Let's make a sample matrix M with some 999 values present in columns 1 and 4. I'll also make a backup copy of it so we can modif...

4 years ago | 0

Answered
Installing matlab r2018b in macbook air m1
From this Answers post: "MATLAB R2020b Update 3 and later are supported on Apple silicon Macs through the Rosetta 2 translation ...

4 years ago | 0

Answered
Extract element from a table
Let's make a sample table. rng default listOfTypes = ["apple"; "banana"; "cherry"]; T = listOfTypes(randi(numel(listOfTypes),...

4 years ago | 0

| accepted

Answered
Unexpected resul when trying to plot from array "empty double row vector"
% >> x305a(1,404:end) Most likely x305a has fewer than 404 columns. As a smaller example: x = 1:10; x(1, 11:end) % 11:end is ...

4 years ago | 0

Load more