Réponse apportée
Identifying smoothness on different plots without jumps or kinks
For f1.txt, the model formulation will be the best fit, e.g.: D1 = load('f1.txt'); X1 = linspace(-25, 25, numel(D1)); % Dat...

environ un an il y a | 0

Réponse apportée
I have a problem with 2D plot.
It should also work with this syntax X1=[300 400 500 600]; X2=[4 3.5 3.0 2.5]; Y=[0.3 0.4 0.5 0.6]; t = figure(1); ax1 = ax...

environ un an il y a | 1

Réponse apportée
Mismatch result in comparison operation in Simulink
The problem is caused by sine wave generator. Try to tighten the sample time, e.g. 1e-9.

environ un an il y a | 0

Réponse apportée
Identifying smoothness on different plots without jumps or kinks
Here is one solution with ftnlm(): D2 = load('f2.txt'); X2 = linspace(-25, 25, numel(D2)); % Data shows that a Nonlinear Sigm...

environ un an il y a | 0

| A accepté

Réponse apportée
I want to do a general code to make a transfer function of any rlc circuit
The transfer function of RLC circuit will be derived using input voltage vs. voltage across capacitor (1) or input voltage vs. c...

environ un an il y a | 0

Réponse apportée
I have a problem with 2D plot.
Here is one possible solution: X1=[300 400 500 600]; X2=[4 3.5 3.0 2.5]; Y=[0.3 0.4 0.5 0.6]; t = tiledlayout(1,1); ax1 = a...

environ un an il y a | 0

| A accepté

Réponse apportée
newton raphson methon and symbolic functions
Here is another alt. solution: R=3; h=0:0.1:6; V=pi.*h.^2.*(3*R-h)/3; plot(h,V,'k'); IDX = find(ceil(V)==30); hold on plo...

environ un an il y a | 0

Réponse apportée
can help me to found empirical equation for data L1 vs T1
Just looking at your data, a first part of it looks like a nice polynomial fit (until it it drops). Here is one easy fit model w...

environ un an il y a | 0

Réponse apportée
Using YOLOX with MATLAB for Human Detection
Here are a few nice documentations on YOLOX: DOC1 DOC2 DOC3

environ un an il y a | 0

| A accepté

Réponse apportée
how to save result in matlab neural network 2023
Understand what issue you are facing with the net() - neural network simulation. Here is one code automatically generated by MAT...

environ un an il y a | 0

Réponse apportée
Static text with Gui and condition
As @ Muhammad advised, using local variable is more preferable for two reasons - (1) avoid confusion and (2) easy to edit/handle...

environ un an il y a | 0

Réponse apportée
calculate with Twiddle factor
This is one of the possible solutions: N = 4; Twiddle_Factors = zeros(N, N); for k = 0:N-1 for n = 0:N-1 Twiddl...

environ un an il y a | 0

Réponse apportée
How can I write noise removal and blur deblur codes in a single matlab code using fft?
This is what you are trying to obtain: O_img = imread('MATLAB.jpg'); % Create a blur kernel, e.g., Gaussian noise type of blur...

environ un an il y a | 0

Réponse apportée
How to assign diffrent colors and shapes to diffirent groups in a plot?
Is this what you wanted to achieve: clearvars;clc;close all; Group = {'A','B','C','D','E'}; C3 = cellstr(Group); % convert ce...

environ un an il y a | 0

| A accepté

Réponse apportée
I want to get a scaled vector field $\vec F=(x^2-x)i+(y^2-y)j$. The Fig should be like the attached Fig:
Is this what you are trying to obtain: [x, y] = meshgrid(-2:0.25:2); % x and y values F_x = 1*(x.^2 - x); % Th...

environ un an il y a | 0

| A accepté

Réponse apportée
MATLAB reads my old tsv file instead of the new one after I have updated it.
It seems from a quick glance that the directory of your updated file .tsv is not specified.

environ un an il y a | 0

Réponse apportée
Newtons law of cooling
Is this what you want to compute: % Given intial data: T0 = 30; T_initial = 100; T_target = 75; ...

environ un an il y a | 1

| A accepté

Réponse apportée
How to overwrite an excel file, matlab 2018?
Here is one code if understood your question correctly: FName = 'Renew_Table.xlsx'; D = array2table(randi(255, 7, 3)) writeta...

environ un an il y a | 0

Réponse apportée
Backgroud Added to images after imwrap transformations
Here is the complete code (your diamond image was used with DIAM.png name): I=imread('DIAM.png'); I=flipud(I); T = [1 0 ...

environ un an il y a | 1

Réponse apportée
X(t)=0.1179e-25.2tsin(50t+0.3224π } Use MATLAB to Plot X (t)with time and determine the amplitude and phase angle of the transient response within the system
Do these steps: (1) Initialize t: (2) Compute: X(t) (3) Plot: t vs. X: (4) Compute magnitude: (5) Compute phase angle:

environ un an il y a | 0

Réponse apportée
How to solve Algebraic Loops in half car model with PID controller
Hi @Mücahit, There are a couple of derivative blocks in your model that creates all instability (spikes are occuring due to d...

environ un an il y a | 1

Réponse apportée
la función syms no funciona [syms function not working]
Is this what you are trying to achieve (È questo ciò che stai cercando di ottenere?): % Initialize symbolics syms H(x) F(x,y) ...

environ un an il y a | 0

Réponse apportée
how to solve log log equation??
Here is the corrected code (note how the EQN is set up for the given equation): clc, clearvars syms m m1=7; m2=9.41; t1=2...

environ un an il y a | 0

Réponse apportée
How can I get a table from a website?
How about this (it is not a complete answer, but it can be worked around :) .. ): URL = 'https://www.cbssports.com/fantasy/foot...

environ un an il y a | 0

Réponse apportée
videos run slowly on video labeler
There could be a few things: (1) Hardware issues with your computer. Check your computer's technical specs for video playback ...

environ un an il y a | 0

Réponse apportée
How to solve Algebraic Loops in half car model with PID controller
By glancing at your Simulink model, that looks ok without seeing f(u)'s. I can see the problem is in f(u) function definitions. ...

environ un an il y a | 1

Réponse apportée
Getting joint lines in 2-D plot instead of a single line.
Small correction is needed with the indexing, see this sample code: X = [ 0 5 10 15 -3 -5]; Y = [2*X.^2+2; 3*X.^2+2; 2.5*X.^2+...

environ un an il y a | 2

| A accepté

Réponse apportée
In CERR: How to loop a function for several planC's
If understood correctly, it can be attained something like this (presuming the fcn file getStructureDistance.m has some input va...

environ un an il y a | 0

Réponse apportée
Why sim() can not read pretrained dqn-agent ?
Note that sim() function is used to simlate Simulink models not M-files or MLX-files - see DOC. To call and execute M or MLX fil...

environ un an il y a | 0

| A accepté

Réponse apportée
Error when plotting a stacked bar chat.
Here is the corrected code: x = ["1980M11"; "1985M01"; "1986M01"; "1991M09"; "1994M07"; "1997M07"; "2007M07"; "2012M06"; "2015M...

environ un an il y a | 1

| A accepté

Charger plus