Answered
How to solve this equations using matlab code,I use solve but I have obtained a wrong and strange solution, and I don't know why.
It would help to have your code. See if using the vpa function will produce a moree understandable reesult, specifically: ...

1 year ago | 0

| accepted

Answered
Process Reaction Curve: Ziegler-Nichols rules
I’m not certain that I understand what you’re asking. See if the System Identification Toolbox procest function will do what ...

1 year ago | 0

Answered
Would you please help me to install and use FFmpeg?
Use your favourite search engine and the search string: ffmpeg windows I found several sites that apparently show how to do tha...

1 year ago | 1

| accepted

Answered
Set decimal place for uitable
It may be necessary to create a string variablee or character array to get what you want, because MATLAB will use full precision...

1 year ago | 0

| accepted

Answered
Reading data in MATLAB
Try this — % T = readtable('data_Labor1_CH1_AnAusSpannung.txt','VariableNamingRule','preserve') T = readtable('data_Labor1_CH...

1 year ago | 0

Answered
Can someone help to teach how i want to upload this file into matlab and try preprocessing ?
See the documentation section on Import or Export a Sequence of Files. More specifically, I would do something like this: f...

1 year ago | 0

Answered
Filtering nose and removing spikes at local areas
The findpeaks function may be an option, however it defines a peak as having a lower values on each side of it, so it will not p...

1 year ago | 0

Answered
Can't access data using " .DateTime " string
Perhaps this — imshow(imread('peppers.png')) metadata = imfinfo('peppers.png') DateTime = datetime(metadata.FileModDate) ....

1 year ago | 0

| accepted

Answered
Format scientific decimal place bar plot
I wrote some utility functions for just this purpose for my own use a few years ago. Try this — load('data_c.mat'); x = un...

1 year ago | 0

| accepted

Answered
Trying to Filer Baseline Signal Noise - Getting Additional Peaks at High Frequencies
The problem may be your filter design. If you have R2018a or later and the Signal Processing Toolbox, use the highpass functi...

1 year ago | 0

Answered
Constructing a string with several index requirements
I’m not certain what you need, however this is one option — r2 = [0 30 60 90 120 150 180 210]; command=['S...

1 year ago | 0

| accepted

Answered
Scatter Plot following a colormap regulation
The DisplayName name-value pair will use that information for the legend entry for each plotted pont. If you want the station n...

1 year ago | 0

| accepted

Answered
Plot files with legend names indicated from a value from each file
All the files have the same format, so this is straightforward — mats = dir('*.mat'); numprof = numel(mats); couleur = jet...

1 year ago | 0

Answered
Integration symbiolic form in matlab gives error
If you have R2012a or later, use the integral2 function instead — Part_1=@(r,theta) 1+(2.*(1+r.*cos(theta))).^2; W_i=@(r,thet...

1 year ago | 0

Answered
Assistance Needed with FIR Comb Peak and Notch Filter Design in MATLAB
The peak filter was a bit challenging, however I got it to work reasonably well. The comb filter may not exactly meet your de...

1 year ago | 1

| accepted

Answered
curve fitting using lsqcurvefit on kinetic data for parameter estimation
The model itself is a bit misleading. A better option might be: That produces an equivalent fit with paramete...

1 year ago | 0

| accepted

Answered
Detect main part of a signal
I usually use the envelope function, usually using the 'peak' option, and then test for the first instance of those (ususlly the...

1 year ago | 0

| accepted

Answered
FFT result dependent on number of interpolation points
The interpft function is intended to interpolate the Fourier transform, and it does a reasonably good approximation. I checked ...

1 year ago | 0

| accepted

Answered
Convert string into datetime
It would help to have the file. Try this — Date_Time_rural = ["2023-10-31 00:00:00"; "2023-11-01 00:00:00"; "2023-11-02 00...

1 year ago | 0

Answered
Fourier Series Representation of Periodic Functions
I would write the piecewise call differently — syms t omega a_k = piecewise(0 <= t < 0.4, 1, 0.4 <= t < 0.5, -1) figure ...

1 year ago | 0

Answered
I am taking two excel files with similar x value data and want to plot the y values of one of the plots with different colors based on if the second file reads 0 or 1.
This is something of a challenge. In order to be able to use both records, it is necessary to intterpolatee the shorter record ...

1 year ago | 0

Answered
Why does the phase response get cutoff beyond a frequency?
The most likely reason is that the filter numerator coefficients are close to the limit of floating-point approximation error. ...

1 year ago | 1

| accepted

Answered
finding relation between two variables, being discharge and water level in a river
Your question is a bit ambiguous. If you have data of some sort and you want to fit that model to it in order to deteermine ...

1 year ago | 0

| accepted

Answered
Slope of some groups of data separated by NaNs
I am not certain what you want for ‘values’. This prints the equation of the regression line for each line — load('data_min...

1 year ago | 0

| accepted

Answered
Site Response Analysis - FFT
Just looking at your code (without having the data), one problem could be that your amplification function is defined only over ...

1 year ago | 0

Answered
convert time domain data to frequency domain
There are 6839 missing (non-sequential) rows in this file, so to use fft you will first have to interpolate them so they are seq...

1 year ago | 0

| accepted

Answered
plomb ifft sequence??? please help me!!!!
The plomb function returns the power spectral density of the input time-domaiin signal. In order to do in inversee Fourier tran...

1 year ago | 0

Answered
How to extract areas of contourf-plots below a given level
It is a bit difficult to follow your code. In my additions, these lines: idx = find(contourData(1,:) == contourLevel); cle...

1 year ago | 1

Answered
Hi, I want to how can we convert the contour geometry to stl file?
Try something like this — % clc; clear; close all; % Generating simple SDF [x, y] = meshgrid(linspace(-2, 2, 100), linspac...

1 year ago | 1

| accepted

Answered
Skipping Optional Positional Arguments
I usually use varargin rather than arguments, however your calling syntax may not be appropriate To illustrate — out = foo(1,...

1 year ago | 0

Load more