Beantwortet
How Do I Replace Numbers with Alphabets
Use arrays — w1 = {'A','B','C','D','E','F'}; w2 ='ABCDEF'; w3 = ["F","O","R","M","A","T"]; for k = 1:6 L1{k,:} = w1{...

mehr als 3 Jahre vor | 1

Beantwortet
Convert syms matrix to double
That is not possible. The reason is that the matrix contains symbolic variables. They have to be assigned numeric values to us...

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 0

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 0

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 0

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

fast 4 Jahre vor | 1

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

fast 4 Jahre vor | 1

Mehr laden