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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

Mehr laden