답변 있음
How do I find the mode of an array and verify it using the frequency?
By definition, mode() returns a value such that no other value is more frequent (but other values might be equally frequent.) I...

7개월 전 | 2

| 수락됨

답변 있음
Can I install MATLAB to Jetion Orin directly?
No. The Jeston Orin Nano and AGX are both based on ARM CPUs running Linux. MATLAB is not available for Linux ARM. (MATLAB is ava...

7개월 전 | 0

| 수락됨

답변 있음
define 300 function calls x1(t)---x300(t)
syms x(t) [1 300] whos

7개월 전 | 0

| 수락됨

답변 있음
How to Exchange Real-Time Data Between Two Computers Using MATLAB?
The general mechanism is to use the Instrument Control Toolbox udpport. udp is a connectionless bi-directional protocol If you ...

7개월 전 | 0

답변 있음
How to surfc or surf a .mat file
The output of load() from a .mat file, is a structure, with one field for each variable that is loaded. You need to extract the ...

7개월 전 | 0

답변 있음
save a cmyk image in jpeg
Saving jpeg with CMYK is not supported by imwrite() or any other Mathworks supported function. There just might happen to be...

7개월 전 | 0

답변 있음
Special case of function not found even when in current directory or on path
This is not a bug. MATLAB traces assignments to try to deduce whether a given name is a function or a variable. Any name that i...

7개월 전 | 1

답변 있음
im getting error 354 no redesignation permitted
You will need to contact Mathworks Support about that. The volunteers who answer question here do not have access to that kind o...

7개월 전 | 0

답변 있음
Please help me. I want to find the optimal values of constans in the ode?t
Provided that C1 and C2 are real-valued syms y(x) syms C1 C2 real dy = diff(y); d2y = diff(dy); eqn = y^2 * d2y + y*dy^2 - ...

7개월 전 | 1

| 수락됨

답변 있음
Create a plot with sample on the x-axis and mass1 on the y-axis.
sample = linspace(0,10); mass1 = exp(-sample); plot(sample, mass1) xlabel sample ylabel mass1

7개월 전 | 0

답변 있음
Dimensioning a field within a structure array for reading data
Your loop code has a problem when you reach end of file. In such a case, fread() returns empty, and string(empty) returns a 0 x ...

7개월 전 | 0

답변 있음
Using parfor loop with fetchNext
For all variables output from parfor, the indices must be a mix of constants and expressions involving constants defined simply ...

7개월 전 | 0

답변 있음
How to change my MATLAB student license to an academic license?
Unfortunately, there is no way to upgrade a Student license to an Academic license. Academic licenses need to be purchased with...

7개월 전 | 0

답변 있음
How to avoid inf/inf numerically for hyperbolic functions
Unless I have made a mistake, your expression simplifies a lot. syms gamma__l(n) h f d part1a = gamma__l(n)*cosh(gamma__l(n)*h...

7개월 전 | 0

답변 있음
I want to transfer my Matlab software to the new computer.
If you have a Student or Home license or Dedicated Host license, then the easiest way is to Deactivate the license on the existi...

7개월 전 | 1

답변 있음
how to make 3D image from x(50x1double),y(100x1double),z (80x1double), intensity(50x100x80)
The basic 3D volume viewer is volshow or the application VolumeViewer https://www.mathworks.com/help/images/ref/volumeviewer-app...

7개월 전 | 0

답변 있음
Inquiry on Time Complexity of cumsum
Looks pretty linear to me. format long g A = rand(1e6,1); times = zeros(10,1); for K = 1 : 10 subset = A(1:K*1e5); ...

7개월 전 | 1

답변 있음
Effect of rng on Genetic Algorithm
There is no general way using ga() to ensure repeatability and convergence to the global optimum. With some particular forms o...

7개월 전 | 0

| 수락됨

답변 있음
Linking buttons in a matlab gui
Generally speaking, you would create a uibuttongroup and put uiradiobutton inside of it. https://www.mathworks.com/help/matlab/...

7개월 전 | 0

답변 있음
Command line help fails, reports "Error using append Too many input arguments"
You have a third-party append.m that is interfering with the Mathworks append() which -all append I predict that something els...

7개월 전 | 2

| 수락됨

답변 있음
cannot search for index of multiple elements in a larger array
You do not promise that there will be exactly one match for each element of i, so you need to do something like A = [ 1027 ...

7개월 전 | 1

| 수락됨

답변 있음
Import function no longer supported. Am I using the DDL libraries correctly?
The R2023b Release notes say, Malformed and reserved import arguments issue warning Behavior change Previously, the impor...

7개월 전 | 0

답변 있음
Why do I get an error downloading documentation for an offline computer?
This is a known issue. I'm surprised they have not fixed it yet. https://www.mathworks.com/matlabcentral/answers/2177941-why-a...

7개월 전 | 0

답변 있음
Why is my code returning the error "Index in position 1 exceeds array bounds" when calling adjacent()?
if adjacent(pCubes(1,:,:,:),a,b,c) % error here You are passing in a 1 x something x something by s...

8개월 전 | 0

| 수락됨

답변 있음
Using RTX 5090 for GPU computing in forward compatibility
@Joss Knight who is Mathworks Staff with the Parallel Computing Toolbox, recently wrote https://www.mathworks.com/matlabcentral/...

8개월 전 | 1

| 수락됨

답변 있음
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...

8개월 전 | 0

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

8개월 전 | 0

답변 있음
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)

8개월 전 | 0

답변 있음
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)

8개월 전 | 0

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

8개월 전 | 1

더 보기