Réponse apportée
FFT, THD and Fourier equations
Note that your different data sets has different fundamental frequencies and other resonant freq values. Besides, some of your d...

plus de 2 ans il y a | 0

Réponse apportée
Trying to Solve system of 2 Equations "Unable to find explicit solution" Code In Description
Note that you have six unknowns (a1, a2, r_1, r_2, alpha, E) an two equations. It is possible to get two solution type expressio...

plus de 2 ans il y a | 0

Réponse apportée
FFT, THD and Fourier equations
The solution to your exercise comes from the nonlinear fit model and fft()'s fundamental resonant frequency value, which is 2Hz....

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Categorical covariates in parameter estimation
Yes, it should work. See this doc: https://www.mathworks.com/help/simbio/ref/groupeddata.createdoses.html

plus de 2 ans il y a | 0

Réponse apportée
Error while reading table
So far, the orignal file has some VB issues. Therefore, none of the suggest solutions can read the whole data even if the import...

plus de 2 ans il y a | 0

Réponse apportée
I don't have access to "my courses" in my profile
Did you login? There is a icon upper left corner to login with your credentials if you have already registered. If you haven't, ...

plus de 2 ans il y a | 0

Réponse apportée
how to make basic Tree data structure
If understood correctly your question, the structure variable can be built in the following way, e.g.: Child1 = magic(3); Chil...

plus de 2 ans il y a | 0

Réponse apportée
Euler's Formula and FFT
If understood correctly, you are trying to find a non-linear fit of the large flacturations using sine and cosine functions. If ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
New to matlab, trying to understand basic functions still
The meaning of these entries are: x= D0a(:,1); % The existing variable D0a's column 1 is assigned to a new variable called x ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Creating Binary Image from Polygon Label in MATLAB
Here is how it can be done: I0 = imread('HVOF.png'); I = rgb2gray(I0); % Polygon coordinates XY=[50 150; 200 250; 300 350; 1...

plus de 2 ans il y a | 0

Réponse apportée
Integrating a complex function
Here are two points to consider: (1) to specify the error tolerances and make them more crude, e.g.: 'RelTol',10,'AbsTol',0.1 ...

plus de 2 ans il y a | 0

Réponse apportée
how to calculate the shape factor?
Is this what you are trying to calculate? % Read Image IMG = imread('IMAGE_Blob.png'); % Convert from RGB to gray scale IMG_...

plus de 2 ans il y a | 0

Réponse apportée
How to plot a map with logarithmic colorbar and colormap with imagesc
for t = 10:10:200 %every t is referred to a time of the day figure(t) colormap('parula'); my_clim=[0 62]; c...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How can I mark the central point in annotate box
If you're plotting the results, then you can put the text or symbol, arrow, etc at specific coordinate points using annotation.

plus de 2 ans il y a | 0

Réponse apportée
Is there a way to improve the code speed?
Without digging much into your code, I'd suggest to put: fplot(f0+kvco*h(t-tc(i-1)),[double(tc(i-1)),double(tc(i))]) outside o...

plus de 2 ans il y a | 0

Réponse apportée
Matlab simulation code error
Here is the corrected code. Note the errors with: (1) symbolic math expression and solving the equations: syms, solve() (2...

plus de 2 ans il y a | 0

Réponse apportée
Including a value inside an annotation
Here is the solution to this issue: q = 48; DIM = [0.42 0.864 0.1 0.1]; STR = strcat('L. St. Lawrence - INCREASE IN ISI (n= ...

plus de 2 ans il y a | 0

Réponse apportée
Solve for an unknown matrix like solve() for dimension one
This exercise can be also simulated/solved by this way: N=3; % Dimension syms d [N N] Eqn = d*randi(10, N)==randi(...

plus de 2 ans il y a | 0

Réponse apportée
How to plot the Taylor Series expansion of sin²(x) in MATLAB
There is a fcn called taylor() which can be used for your simulations as well intead of typing the whole formulation of polynomi...

plus de 2 ans il y a | 0

Réponse apportée
want to calculate std_value and mean_value
Here is the correct code: img1 = imread('ALPS.jpg'); figure imshow(img1); title('Original Image') std_value1 = std2(img1); ...

plus de 2 ans il y a | 0

Réponse apportée
plot area with different collar.
This exercise can be done with plot() and patch() and/or fill() fcns. (1) Determine the values of VOLL, Lambda, DI_at, d_at, D...

plus de 2 ans il y a | 0

Réponse apportée
The values from the for loop won't store on the array
You can display/write out the calculated data, and store or write to an external files as well. See how it can be done: A = rea...

plus de 2 ans il y a | 0

Réponse apportée
error Conversion to double from function_handle is not possible.
Here is the corrected solution: t = 0:0.01:10; nt = length(t); % Inicialización de u y u' u = zeros(size(t)); p = zeros(1,n...

plus de 2 ans il y a | 0

Réponse apportée
How do I fill the image completely into the chart in App Designer?
One possible solution for your plotted data without the white areas at the bottom and on the righthand side is exaplained via th...

plus de 2 ans il y a | 0

Réponse apportée
I I'm new to matlab and Ikeep getting "Index in position 1 is invalid. Array indices must be positive integers or logical values. Error in "THRUST CURVE FUNCTION LINE 3"
From your post, what I understood is that you're trying to make linear interpolation of the imported data. I am not 100% sure if...

plus de 2 ans il y a | 0

Réponse apportée
Compare the graphs of 𝐬𝐢𝐧 𝒕 and 𝐜𝐨𝐬 𝒕 on the same plot, where the time 𝑡 starts from 0 and ends at 4π, with an increment of T/100.
You can use a few different MATLAB built-in fcns to get this exercise done, such as, colon ":" operator, plot(), hold, legend(),...

plus de 2 ans il y a | 0

Réponse apportée
Interpolation on multiple data sets
If understood correctly, the interpolation can be done using matlab's builtin fcns interp1() for 1D, interp2() for 2D, interp3 f...

plus de 2 ans il y a | 0

Réponse apportée
extracting rows of data
The answer lies in your original data - see the plot of your data. You are extracting the same data with your logical indexing o...

plus de 2 ans il y a | 0

Réponse apportée
Help finding cell array indices for unique characters in string names
All combined into one: names = cell(1, 10); names{1} = '*H'; names{2} = 'HO2'; names{3} = '*H2'; names{4} = 'H2O'; names{5...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
2D color map shows the image correct but the Y scale is flipped.
Use 'reverse' option for the plot axis value direction, e.g.: t=linspace(0,1.2, 1e3); dt = t(2)-t(1); Fs = 1/dt; f1 = 5; f2...

plus de 2 ans il y a | 0

Charger plus