답변 있음
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...

9개월 전 | 0

답변 있음
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....

9개월 전 | 0

| 수락됨

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

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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, ...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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 ...

9개월 전 | 0

| 수락됨

답변 있음
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 ...

9개월 전 | 0

| 수락됨

답변 있음
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...

9개월 전 | 0

답변 있음
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 ...

9개월 전 | 0

답변 있음
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_...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

| 수락됨

답변 있음
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.

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

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

9개월 전 | 0

답변 있음
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= ...

9개월 전 | 0

답변 있음
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(...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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); ...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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(),...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

답변 있음
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...

9개월 전 | 0

| 수락됨

답변 있음
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...

9개월 전 | 0

답변 있음
How to remove trailling numbers when using the update function (database toolbox)
Maybe to store data in a single() format instead of double (default in MATLAB), and also, round up the values, e.g.: t = linspa...

9개월 전 | 0

| 수락됨

더 보기