Answered
Curve fitting for multiple variable
I have no clear idea what you want to do. This approach fits all the parameters at once — T1 = readtable('https://www.mathw...

3 years ago | 0

| accepted

Answered
converting vector result into matrices for surf command
I have no idea what you want to plot. Use the first two column (that correspond to ‘x’ and ‘y’ respectively), the choose what...

3 years ago | 0

Answered
creating a look up table to compare datetime stamps
Start with the isbetween function, and add a separate logical vector for the device ID — DateTime = datetime('now')+hours(0:4:...

3 years ago | 0

| accepted

Answered
How to differentiate the data in excel using a variable?
You can use the gradient function to calculate the numerical derivative — T1 = readtable('https://www.mathworks.com/matlabcent...

3 years ago | 0

| accepted

Answered
Error calculating vector dot product when vector elements are variables
The Symbolic Math Toolbox makes the (usually appropriate) assumption that the variables are complex. Force them to be real by...

3 years ago | 1

| accepted

Answered
Hill plot for binding of a ligand L to a protein
There’s too much missing information to provide a specific response. The is not defined in the second equation, and there is n...

3 years ago | 0

Answered
Help extracting rows based on unique column 1 data
There is a lot I don’t unerstand about this problem. However, if you want to find the unique occurrences of each of the ‘talp...

3 years ago | 0

| accepted

Answered
How to manage weird black line on Y axis outside the figure itself
I cannot reproduce what you’re seeing. I don’t understand the temperature data after about 2013 (I have no idea what the dens...

3 years ago | 0

| accepted

Answered
Fourier Transformation of a portion of an audio signal is only resulting in a horizontal line, why?
Consider: R = length(r); u = pow2(nextpow2(R)); % Transform length ffR = fft(R,u); % Fourier Transform %fR = (0:R-1)*(Fs/R...

3 years ago | 1

| accepted

Answered
Extract data corresponding to particular dates
Therea re likely several ways to do this. Using ismember — DT = table(datetime('now')+days(0:364).', 'VariableNames',{'Date...

3 years ago | 0

| accepted

Answered
Colouring patches from a voronoi tessalation
It may be possible to close the exterior of the plot using the boundary function. I was able to do that reasonably well with: ...

3 years ago | 1

Answered
Determine -3db gain on Freq- gain plot
Use: find(diff(sign(gain-Gain_3db))) or something similar, to find the indices of all the points where the curve equals the s...

3 years ago | 1

| accepted

Answered
Extract curve/surface from an 2-D area of points not equivalently spaced
I am not certain what result you want. The Signal Processing Toolbox envelope funciton is one option, and since I am familiar...

3 years ago | 0

| accepted

Answered
How to find tangent line of curve
That plot actually looks familiar! See: How to draw a tangent line on a curve for one approach. (That result used the inflec...

3 years ago | 0

Answered
Bode Plot and Corner Frequency
The ‘sys1’ and ‘sys2’ transfer functions are actually improper, wince with a denominator of 1, they are infinite differentiators...

3 years ago | 1

| accepted

Answered
plot a data????
It appears to run correctly, unless there is a quesiton you are not stating. There are only 4 columns in ‘A’ so this threw th...

3 years ago | 0

Answered
Fourier series of any function
I am in no way certain what you want. Calculating a numerical transform is straightforward, however calculating a symbolic ve...

3 years ago | 0

Answered
Plot a shadow between to lines for a current figure without legend
Add a patch call — figure le=[1,2,3]; x=[0 5 15]; y=2*x; for i =1 : length(x) txt = ['$\alpha_1$ = ',num2str(le(1,i))...

3 years ago | 1

| accepted

Answered
Plotting shaded area in matlab
See this File Exchange search for hatch, then choose the function that works best in your intended appplication for it.

3 years ago | 0

| accepted

Answered
What are the graphics drivers with known issues?
I have never seen such a list, or have ever seen this issue being mentioned here previously. Someone from MathWorks needs to po...

3 years ago | 0

| accepted

Answered
smooth curve smooth curve
That appears to me to be a fft result after using the fftshift function on it. Each of the ‘peaks’ is a different frequency com...

3 years ago | 0

Answered
Parsing variable in table
Try something like this — T1 = table(datetime(['2021-02-01 09:00:00' '2021-02-01 09:01:00' '2021-02-01...

3 years ago | 0

| accepted

Answered
How to do normal distribution for same data?
Try something like this — %Import front sonar for 30cm: sonar_F_030 = readtable('https://www.mathworks.com/matlabcentral/answ...

3 years ago | 0

| accepted

Answered
plotting multiple fitting graphs in a single graph
The code works as posted. If you want to plot both results on the same axes, that is straightforward. See the third figure —...

3 years ago | 0

Answered
Vertical Error bars from gauge accuracy
I am not certain what result you want. I ran the code, and the errorbar plot completely covers most of the rest of it, so in...

3 years ago | 0

| accepted

Answered
must return a column vector
I am not certain what ‘ydot’ is supposed to be, however the element-wise multiplication is likely the problem. Use array mult...

3 years ago | 0

Answered
Boeing 747 transfer functions
That would seem to be the ‘A’ matrix of a state space model. Use the Control System Toolbox ss function (with the other necessa...

3 years ago | 1

Answered
Roots of a nonlinear equations system
Use the solve function — syms x y fcn = [-4*y^2 + 4*x - 4 == 0; 16*y^2 - 8*x*y ==0] S = solve(fcn) x = S.x y = S.y .

3 years ago | 1

Answered
Write variable label on the Y-axis of graphs
Try this — figure plot(sort(rand(1,10)), rand(1,10), '-p') ylabel('$\tilde{H}_{H,2}^{H,1}$', 'Interpreter','latex', 'FontSiz...

3 years ago | 1

Answered
Batch FFT operation on EMG data
I am not certain what you want to do. After you load the data and select the sections you want to analyse, convert the data i...

3 years ago | 0

| accepted

Load more