Answered
In order to calculate average after 300ms from beginning of the recording
You need to multiply the delay time (300ms), expressed in seconds, by the sample frequency (expressed in Hertz), to calculate th...

12 months ago | 1

Answered
Is Powergui liberary is missing in 2025b , because I installed the matlab 2025b and when i open any model it appear the powergui lib is missing
Yes, it has been removed. Mathworks has sold the technology to another company. See https://www.mathworks.com/matlabcentral/an...

12 months ago | 0

Answered
kernel scale in svm ?
According to https://www.mathworks.com/matlabcentral/answers/516738-what-kernel-scale-in-svm-really-is#comment_983291 @Hiro Yo...

12 months ago | 0

Answered
Teensy4 Hardware Interrupt Problem
https://www.mathworks.com/help/simulink/supportpkg/arduino_ref/transmit-receive-data-can-blocks.html The CAN receive block is ...

12 months ago | 0

Answered
What works in 2024 stopped with 2025: Latex interpreter
\raisebox and \fbox were never previously documented as working. I speculate that when Mathworks converted java based figures t...

12 months ago | 0

Answered
Please help me to solve this simple error
You have an installation error; somehow the implementing function (class actually) for sym has become a script instead of a func...

1 year ago | 0

Answered
"Not Enough Input Arguments" Error Calling ODE45
[t,z] = ode45(@sys,[0:0.1:100],0) You are passing a single initial state, the 1x1 value 0, into sys. The result of calling sys ...

1 year ago | 0

Answered
Specify bold text in legend directly in the Line command
x=linspace(0,1,101); y=x.^2; plot(x,y,'DisplayName','\bf{My Parabola}') legend show

1 year ago | 1

| accepted

Answered
Wondering about Pure Pursuit Algorithm Code
edit controllerPurePursuit The source code is provided.

1 year ago | 1

| accepted

Answered
Dot indexing is not supported for variables of this type
h.figVision = figure('Name', 'Vision System', 'NumberTitle', 'off'); You are creating a new figure. functi...

1 year ago | 0

Answered
Can I access the matlab online services with a private license after my 1 year of "active license"?
First off, these days nearly all Student licenses are perpetual licenses. Historically, there were 8 month or 1 year licenses av...

1 year ago | 0

Answered
Control the transparecny of axes
You can take advantage of the undocumented fact that commonly RGB triples can instead be RGB quads with the last value being alp...

1 year ago | 1

| accepted

Answered
How Do I make this plot faster?
You are plotting a 51 x 10001 array. That is slow. Most of what is being plotted is all zeros. There is not a lot of point in ...

1 year ago | 0

Answered
Why can MATLAB engine session no longer call "clear all"?
It would not surprise me at all if "clear all" is clearing some crucial connection information that has been stored in variables...

1 year ago | 0

Answered
How to make GUI tool
uigetfile fileread plot disp

1 year ago | 0

Answered
Read Excel file in Matlab and plot data
You need data = readtable('HUAM1709.041_v2.xlsx'); When your provided filename has an extension, readtable does not attempt to...

1 year ago | 0

Answered
Disable annoying message: "You are currently running MATLAB as root. Best practice is to run MATLAB only as root when elevated privileges are specifically required."
In the calling script inside the container, use the Linux command seteuid https://man7.org/linux/man-pages/man2/seteuid.2.html t...

1 year ago | 0

| accepted

Answered
Remove nonsensical data in plot (for loop )
%assume that Data_To_plot is an N x 7 array of data to be plotted Copy_Data = Data_To_plot; Copy_Data(~cumprod(Data_To_Plot > ...

1 year ago | 0

Answered
Has the Matlab 2025a documentation changed? I'm not able to access it via help anymore .
Use Settings -> Help -> Documentation Location -> Installed locally, and then click on "Install Documentation" . It might take a...

1 year ago | 1

| accepted

Answered
How to save a mixed data (strings and integers) from workspace into a matlab data file?
Consider creating a struct of data to be represented, and then using jsonencode to create a text representation, and then writel...

1 year ago | 0

Answered
Matlab has all time problems.
Run-time redistributables provide run-time support for executables that have already been compiled. Run-time redistributables do...

1 year ago | 1

| accepted

Answered
How can I accelerate Deep learning training in Macbook M4 GPU/ANU?
It is correct that Deep Learning Toolbox training acceleration only works with NVIDIA GPUs. Unfortunately your hardware and sof...

1 year ago | 1

Answered
Distribution name 'Lognormal' is unrecognized
It sounds as if you have Simulink Design Optimization installed, getting https://www.mathworks.com/help/sldo/ref/makedist.html b...

1 year ago | 0

Answered
How can I fit data to a piecewise function, where the breakpoint of the function is also a parameter to be optimised?
(a1*x.^2 + b1*x + c1) .* (x <= d) + (a2*x.^2 + b2*x + c2) .* (x > d) Note that for this to work, the coefficients must be const...

1 year ago | 0

Answered
Comparison PDE solve and \ mldivide
model.MaterialProperties(ThermalConductivity=46.5, MassDensity=7800, SpecificHeat=.502); That is invalid. It is converted inter...

1 year ago | 0

Answered
Where is the algebraic loop coming from?
The ready_out of toRAM_interface is an output. You send that to ready_in of the FIFO. Meanwhile, the FIFO has lines that are inp...

1 year ago | 1

| accepted

Answered
Distinguish between ASCII and Binary
ASCII files will contain characters in the positions: 9 (tab), 10 (newline), 13 (carriage return), and 32 (space) to 126 (tilde...

1 year ago | 0

Answered
simulink_root does not have a parameter named 'PaperType'
R2022b reports Warning: Getting parameter 'PaperType' of the default block diagram will not be supported in a future release. ...

1 year ago | 1

| accepted

Answered
Is it possible to achieve a 50% duty cycle while dividing a clock by a fractional number like 1.5?
You can only get 50% duty cycle if you divide the 1.5 by a further 4/3. That is, 3/2 * 4/3 == 2 and you need to end up with a di...

1 year ago | 0

Load more