Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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....

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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, ...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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 ...

más de 2 años hace | 0

| aceptada

Respondida
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 ...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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 ...

más de 2 años hace | 0

Respondida
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_...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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.

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

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

más de 2 años hace | 0

Respondida
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= ...

más de 2 años hace | 0

Respondida
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(...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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); ...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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(),...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Cargar más