已回答
intarpulation on a sin wall
Just based on the code you showed, the main suggestion I have is not to recreate the scatteredInterpolant object every time. Jus...

4 months 前 | 0

| 已接受

已回答
Unexpected prompt characters on command line output
Rather than piping the contents of the file to MATLAB, do you see this same behavior if you use the -batch startup option listed...

4 months 前 | 1

| 已接受

已回答
Does fread use cast when reading non-integer byte data
MATLAB doesn't have a 14-bit integer type. The closest larger type is the signed 16-bit integer type int16. From the fread docum...

4 months 前 | 0

| 已接受

已回答
is there way to convert this python code to matlab code? how can i convert python code to matlab? this is the code that I want to convert:
Do you need to convert the code or do you just need to run the code? If the latter, see this section of the documentation.

4 months 前 | 0

已回答
Average Calculation and Array in For Loop
When i is equal to 1, attempting to index into m with i-1 (otherwise known as 0) as an index would error if the short-circuit &&...

4 months 前 | 0

已回答
Still waiting for my order to be processed
Please contact Customer Service directly using this link and ask about the status of your order.

4 months 前 | 1

已回答
Flipping Sign provide wrong information and Answers
How exactly does this reordering "change the meaning of the equation"? The derivative of with respect to is . In this case, x ...

4 months 前 | 2

| 已接受

已回答
Find Number of Elements in an Array
Yet another way to do this: A = ['KM'; 'KL'; 'MN'; 'KM'; 'MM'; 'KL']; [counts, values] = histcounts(categorical(cellstr(A)))

4 months 前 | 0

已回答
How can I verify an isomorphism relation between two graphs that join cube and octahedron vertices?
Build the two graph objects then call either isisomorphic or isomorphism on it. G_1 = graph([1 2 3 3 3 4 4 4 5 5 5 6...

4 months 前 | 0

已回答
With the new ODE command (matlab 2024a), I'd like to parametrize the ICs and make, for example, x0=[p(1); p(5)] and then compute SENSITIVITIES!
If I understand what you're asking, I think you could just modify the Examine Parameter Sensitivity example on the ode documenta...

4 months 前 | 0

| 已接受

已回答
Opening a Figure from a Function - Not enough input arguments
This line of code: flowmeasurementfigure.Callback = {@flow_measurement,halfscreensizecentre,figurecolour} % ERROR ON THIS L...

4 months 前 | 0

已回答
Discrepancy in functions between MATLAB versions
What does the following command show when run in each of the versions of MATLAB? which -all fit My guess is that you have Curv...

4 months 前 | 0

| 已接受

已回答
How to insert dash-line in a matlab figure?
You could use the yline function or you could set the axes properties YGrid and GridLineStyle. x = 1:10; y = x.^2; ax = axes;...

4 months 前 | 0

已回答
missing "configure for app" in matlab 2019b app designer
According to the documentation page for appdesigner.customcomponent.configureMetadata this function was introduced in release R2...

4 months 前 | 0

| 已接受

已回答
I'd like to do various things, including controlling the dimensions of the plot box. What I do here with xlim, ylim, and zlim doens't work.
Instead of manually modifying the coordinates, I'd consider using the hgtransform function in conjunction with makehgtform.

4 months 前 | 0

已回答
How to process the data that have same row name
Rather than trying to create a table with duplicate RowNames (which as you see from the error message is not allowed) I'd store ...

4 months 前 | 1

| 已接受

已回答
How to store users input in a file?
You want to open the file not in write mode ('w') but in append mode ('a'). See the description of the permission input argument...

4 months 前 | 0

已回答
Adjusting Convex Hull Area
As an extreme example, what is the convex hull of a single point at the center of a pixel? It's the point itself, with size 0. T...

4 months 前 | 0

已回答
Matlab equivalent to Java bigdecimal rounding of Half_up?
In release R2022a we added the argument TieBreaker (which can be used case insensitively) to control how ties are broken in roun...

4 months 前 | 0

| 已接受

已回答
Problem with polyfit command (R2015a)
From the polyfit documentation page: "[p,S,mu] = polyfit(x,y,n) performs centering and scaling to improve the numerical properti...

4 months 前 | 2

已回答
Is Lisence "Matlab Basic Package" required to use license "Matlab embedded Coder Package"?
If by "Matlab[sic] embedded Coder Package" you mean the Embedded Coder product, the Product Requirements and Platform Availabili...

4 months 前 | 1

| 已接受

已回答
How can I customize a built-in Class"HelperOrientationViewer()"
Are you referring to this documentation page? If so use the Copy Command button on that page to copy the command to open the ex...

4 months 前 | 0

已回答
The indices for validation and test sets are not being assigned correctly by 'divideind'
Can you confirm you're using the divideind function included as part of Deep Learning Toolbox? which -all divideind When I run...

4 months 前 | 0

已回答
how to get variable of function in for loop
Don't call max twice. Call max once with two output arguments and specify 'all' as the dimension over which to operate. That sec...

4 months 前 | 1

已回答
Assign column names in a workspace table
Use the renamevars function.

4 months 前 | 0

| 已接受

已回答
Converting between x,y cartesian variables to angle in symbolic variables
So instead of the Cartesian coordinate form of those points, you want a polar coordinate form? syms x y [th, r] = cart2pol(x, ...

4 months 前 | 0

已回答
Is numel() supposed to accept more than one input argument?
If I recall correctly this syntax used to be documented as a way for objects to be able to specify the size of the output that s...

4 months 前 | 1

已回答
The solution to the delayed differential equations using the code dde23 represents the solution by the third order Runge-Kutta method or what?
It's not clear to me what information you're looking for. The dde23 function returns the solution to a system of delay different...

4 months 前 | 0

已回答
Making use of figure numbers is discouraged – what are your workarounds?
Rather than trying to set the number, why not create an array of figure handles and use the number as an index into that array? ...

4 months 前 | 3

已回答
Loss is still larger than 30?
Let's take a look at a few lines of your code. I've commented them out since I want to also run some code and these code snippet...

4 months 前 | 0

| 已接受

加载更多