Réponse apportée
Complex variable substitution using Symbolic Toolbox no working as expected.
s = 1i*w; % Substitute s = j*w h_s = simplify(subs(h_w, w*1i, s)); You are asking to substitute 1i*w for w*1i . However, expre...

plus d'un an il y a | 0

Réponse apportée
how can i read letters from an input and make them numbers to make an array from those numbers
ValidInputs = {'AB', 'BC', 'CD', 'DE', 'AD'}; INPUT = input('enter some letters', 's'); [found, idx] = ismember(lower(INPUT), ...

plus d'un an il y a | 0

Réponse apportée
How to use both GPU devices in the laptop
MATLAB is only able to use NVIDIA GPUs for deliberate GPU access. MATLAB has no way of accessing the Intel Iris Xe GPU in the ...

plus d'un an il y a | 2

Réponse apportée
functions inside nnperformance/+sse do not print
After changing code inside the MATLAB directories, you need to rehash toolboxcache Is a binary code running instead to speed ...

plus d'un an il y a | 0

Réponse apportée
How do I save changes to a matrix in a while loop?
overall_score = [0 0 0]; before the while loop. overall_score = overall_score + score; fprintf('Overall Player Wins: %d\n Tie...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Matlab no longer running scripts
For certain older versions of MATLAB, and more common on Mac, MATLAB could apparently hang at random times, including on start-u...

plus d'un an il y a | 0

Réponse apportée
Why does feval produce the error 'cannot automatically convert a double variable to categorical values'?
You design your tbl so that the first column is categorical. You construct a fitlm model from that. You attempt to feval() the...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Why am I getting a NaN value when calling a variable using uicontrol?
Try AvgSpeed1 = mean(RealSpeed1, "omitmissing");

plus d'un an il y a | 0

| A accepté

Réponse apportée
Is it possible to open an java-based figure from the new desktop?
Yes. The new desktop is largely javascript, but traditional figures created with figure() are still java based.

plus d'un an il y a | 0

Réponse apportée
Changing Matlab online version to older one
Sorry, you cannot change MATLAB Online to use an older version.

plus d'un an il y a | 0

| A accepté

Réponse apportée
I have a set of data from an ultrasound image that I need to convert from a .mat file to a file that can be viewed in CAD software or 3D slicer.
By far the easiest way to write dicom files is to already have a representative file of the same type, and use dicominfo() on th...

plus d'un an il y a | 0

Réponse apportée
IFFT function doesn't work for modified fourer spectras
[nt,j]=size(Gilroy1); %... f0=0:df:(nt-1)*df; %... Y=fft(y); Y1=abs(Y); %... FW=1./(cos(2*pi*f0*H/V)); %... YY1=Y.*FW'; ...

plus d'un an il y a | 0

Réponse apportée
Handling Missing values in cell array from Excel cell extraction
mask = cellfun(@(C)any(ismissing(C(:))), extractedData.partCategories, 'UniformOutput', false);

plus d'un an il y a | 1

| A accepté

Réponse apportée
dot indexing not supported for this type of variable” error
When you use predictFcn, the input data needs to be in the same format that you trained on. If you trained on a table() object,...

plus d'un an il y a | 0

Réponse apportée
Question about solving symbolic coupled non-linear equations
The main issue was that you are displaying a struct, and symbolic variable arrays are not expanded for struct. The second issue...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Event function Indexing Error
The isterminal vector returned by the event function must be the same length as the value return. Your IC are probably at least...

plus d'un an il y a | 0

Réponse apportée
"Not enough input arguments" error when using fullfile
S1 = dir(fullfile(P,'*(7)*.csv')); That is returning the empty result, because it cannot find the directory or cannot match *(7...

plus d'un an il y a | 0

Réponse apportée
关于 ndgrid 如何用正整数参数 生成 浮点数网格坐标数组, 然后用 hypot 计算矢量长度度, 出错 ?
Yes, ndgrid with two outputs is designed to have the same output type as input type. Well, except that sparse matrices are promo...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to use "predict" to get x value for a given y value?
Scattered X and y values with X increasing. Suppose you had the input X Y 1 1 1 0.5 1 -0.1 2 2 2 1...

plus d'un an il y a | 0

Réponse apportée
How to use y2abcd function if y parameter matrix has variables
Nothing in the RF toolbox accepts symbolic parameters (unless it is by accident.) You cannot use y2abcd() with symbolic paramet...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to check if errordlg is shown
Looking at /Applications/MATLAB_R2024b.app/toolbox/shared/dastudio/+DAStudio/@DialogProvider/DialogProvider.m it appears to be ...

plus d'un an il y a | 0

Réponse apportée
fmincon is not working
I bet expected_returns is a row vector. fmincon() passes values to the objective function in the shape of the x0 array. Here yo...

plus d'un an il y a | 0

Réponse apportée
please help me to understand "AWGN Channel" and "HDL Implementation of AWGN Generator" blocks ?
HDL Implementation of AWGN Generator is used in HDL designs. It is specifically designed for HDL use. AWGN Channel is designed ...

plus d'un an il y a | 0

Réponse apportée
complex number : real part and imaginary part
syms x mu real syms t real %c alpha=1 U=zeros(1,1,'sym'); A=zeros(1,1,'sym'); B=zeros(1,1,'sym'); C=zeros(1,1,'sym'); D=...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to write subscript and superscriopt in a single variable?
You can create symbolic variable names that are specially formatted. When expressions using those names are displayed in LiveScr...

plus d'un an il y a | 0

Réponse apportée
When I try to constrain node 3 to a line my displacements become ridiculously large, what am I doing wrong?
The rank() of GlobalK is only 6 but the matrix is 8 x 8. Using GlobalK \ F is likely to generate garbage. If you must use a ra...

plus d'un an il y a | 1

| A accepté

Réponse apportée
Expression is too large for MATLAB to evaluate
Unfortunately, the expression is simply too large for the Symbolic Toolbox to handle. You will need to do something like taking...

plus d'un an il y a | 0

Réponse apportée
why do i get error using * ?
integral() always passes a vector of values to the function being integrated (unless 'ArrayValued' is set to true). So in inte...

plus d'un an il y a | 0

Réponse apportée
Do not understand documentation to add third party Arduino libraries
I suggest you use arduino-cli lib install --zip-path /PATH/TO/RoboClaw.zip --config-file arduino-cli.yam

plus d'un an il y a | 1

| A accepté

Réponse apportée
Is there a way to pause gamultiobj, run other computations/scripts and resume gamultiobj (with and without restarting MATLAB)?
First of all, create some globally accessible stop flag, such as in the base workspace. Second of all, run gamultiobj with opti...

plus d'un an il y a | 0

Charger plus