Réponse apportée
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-...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 1

Réponse apportée
Using parallel computing to communicate with device
F = parfeval(backgroundPool,@UpdateWeight,1,Scale); F is returned as a future object. % Setup Timer scale_timer = timer('Time...

plus d'un an il y a | 0

Réponse apportée
concatanate arrays upon condition
At least in R2025a, there is no problem in using "," to concatenate empty datasets, as long as they are empty along either the f...

plus d'un an il y a | 0

Réponse apportée
how can figure renderer be changed in Matlab 2025a?
The figure renderer cannot be changed in R2025a. This is a fundamental change in R2025a, that OpenGL is no longer used and WebGL...

plus d'un an il y a | 0

Réponse apportée
Found unsupported division expression for HDL code generation; Signed input data type is not supported for division with Floor RoundMode, at Function 'mod'
You should be doing range reduction. sin(x) for negative x is -sin(-x). You could do something akin to if x < 0 x = 2*pi -...

plus d'un an il y a | 1

Réponse apportée
Mass importing .txt files with sequential names to plot multiple graphs on same figure for easy comparison
N = 30; files = "FreeField" + (1:N) + ".txt"; S = cell(N, 1); for K = 1 : N S{K} = readtable(files(K)); end for K ...

plus d'un an il y a | 1

| A accepté

Réponse apportée
New MATLAB user: Rosetta 2 or Parallels for Apple M1 MacBook pro?
As of R2023b, MATLAB has had a native port for Apple Silicon series (ARM CPU)

plus d'un an il y a | 1

Réponse apportée
Simulink Matlab Fcn, logical error for incrementation in Goertzel's algorithm
count=single(0); That statement is executed every time the block is executed. You need persistent count if isempty(count); c...

plus d'un an il y a | 0

Réponse apportée
sprintf vs. compose performance for large arrays on macOS
My understanding is that compose is based on sprintf That is not correct, at least not directly. compose() selects elements "...

plus d'un an il y a | 1

Réponse apportée
How can we identify the type of traffic in wireless communication?
Uniform distribution (0–180 ms) That is obviously not bursty. Exponential (mean: 180 ms) First we need to calculate the multi...

plus d'un an il y a | 0

Réponse apportée
Problem istalling ML 2025 on Tower Computer but not Laptop, why?
The most common cause of problems such as these, is if the system with the problem has installed a third-party .m file with the ...

plus d'un an il y a | 0

Réponse apportée
Live Script calls multiple functions that produce a plot, but only the last one shows up.
Graphics calls that are made directly from LiveScript output in-line, and each time a plot would be erased it instead starts a n...

plus d'un an il y a | 1

| A accepté

Réponse apportée
Same data - different answers
In the first case, you are typing in 14 significant digits; MATLAB stores at most 15 1/2 significant digits. In the second case...

plus d'un an il y a | 0

| A accepté

Réponse apportée
where is SupportSoftwareInstaller.exe in Matlab R2025a
It sounds like you are using Mac, as SupportSoftwareInstaller is still available for Windows and Linux. See https://www.mathwor...

plus d'un an il y a | 0

Réponse apportée
Help with nested for loops
Vectorized version with no for loops: Duse=[D1_0, D1_1, D1_2]; %Array for D-values Kuse=[K1_0, K1_1, K1_2]; Quse=[Q1_0, Q1_1,...

plus d'un an il y a | 1

Réponse apportée
The code indicates error with response Invalid value for OPTIONS parameter Algorithm
quasi-newton is a valid option for fminunc but not for fmincon See https://www.mathworks.com/help/optim/ug/fmincon.html#busog7r...

plus d'un an il y a | 0

Réponse apportée
Why does my code return 'Empty sym: 0-by-1'?
You have misframed k = k0 * exp(-Q/(R*T)) . Written as an equation equalling 0, it would be eqn = k - k0 * exp(-Q/(R*T)) == 0 ...

plus d'un an il y a | 1

| A accepté

Réponse apportée
How to store this type of data with unknown number of them?
Let us experiment N = 100; A = randi(9,N,1); B = randi(9,N,1); C = randi(9,N,1); D = cell(N,1); for K = 1 : N D{K} = ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Transform variables with underscore symbol into subscripts when exporting to Latex from a Live Script
The key to this is that the left-hand side of an assignment is never formatted. syms t A B f_0 f_1 n positive eqn = f_1 == f_0...

plus d'un an il y a | 0

Réponse apportée
datetime error in 2025a version
'convertfrom' 'datestr' is not a supported option https://www.mathworks.com/help/matlab/ref/datetime.html#d126e368859 If you ...

plus d'un an il y a | 0

Réponse apportée
use "set" with trasparent color
Line objects have never supported MarkerFaceAlpha or MarkerEdgeAlpha MarkerFaceAlpha and MarkerEdgeAlpha are used for Scatter p...

plus d'un an il y a | 1

Réponse apportée
Does sendmail work with TLS v 1.2 ?
https://www.mathworks.com/help/matlab/ref/sendmail.html Note sendmail does not support major email providers such as Gmail an...

plus d'un an il y a | 0

Réponse apportée
Codegen supported function to delete a file and to check its existence
I believe it would go as follows: C: Use coder.cinclude('<stdio.h>'); coder.ceval('remove', FILENAME); C++: Use coder.ci...

plus d'un an il y a | 0

| A accepté

Réponse apportée
can display .mat files into gui matlab?
Generally speaking, you cannot display .mat files in a GUI. .mat files generally contain collections of variables, but you can g...

plus d'un an il y a | 0

Réponse apportée
Excel to Simulink real time data streaming
In the form you have phrased the question, it must be assumed that a random location inside the data might be updated (as oppose...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Plotting color data from cell array using plot()
plot(xdata{:}, ydata{:}) is equivalent of plot(xdata{1}, xdata{2}, ydata{1}, ydata{2}) which is going to treat the data as pa...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How do I find second order implicit differentiation (d2y/dx2) of a function in MATLAB
syms x y DY DF y(x) F=x^2+y^2==1; dy=diff(y); dx=diff(F,x); DF=subs(dx,dy,DY); dydx1=solve(DF,DY); dydx=simplify(dydx1) t...

plus d'un an il y a | 1

| A accepté

Réponse apportée
how to save the debugging state at matlab?
Generally speaking, it is not possible to save the full debugging state. Generally speaking, the current state of variables mig...

plus d'un an il y a | 0

Réponse apportée
I want to remove noise from my audio signal by simplest method?
Suppose you have an input signal that starts with 0.1 and 0.2. Suppose you add noise to the third sample onwards, and after addi...

plus d'un an il y a | 0

Charger plus