回答済み
Is there a way to remove the units in my dataset
I have never encountered a dataset class array previously. (For whatever reason, the datasetfun function does not return a data...

8日 前 | 0

| 採用済み

回答済み
Double integration of MPU 6050 data
Without knowing more, one possibility is that the integration of the MPU6050 data includes a constant (possibly an offset from z...

9日 前 | 0

回答済み
How to fix problem with subplot and for loop
You are plotting seven subplots so you need to make room for them. Try this — clear; clc; load('ver.mat') Time_5=0:0...

10日 前 | 0

| 採用済み

回答済み
How to simulate the forced response of a transfer function
Use the lsim function — s = tf('s'); G = (1-s)/(s^2 + 2*s + 1) t = linspace(0, 1E+1, 1E+3); u = @(t) 2*cos(3*t); Gu =...

10日 前 | 0

| 採用済み

回答済み
Generating an example noisy sine wave signal
Try this — fs = 16000; % sampling frequency t = 0:1/fs:0.02; % start : time step : end...

10日 前 | 0

回答済み
Patch Between two curves that are not functions. Crosses over
Perhaps this — x1 = [1 1 1 2.5 5]; y1 = [5 2.5 1 1 1]; x2 = [2 2 5]; y2 = [5 2 2]; figure hold on plot(x1...

10日 前 | 1

| 採用済み

回答済み
How do I find the overall model p-value of a multinomial regression model (mnrfit)?
According to the documentation, mnrfit is no longer recommended (as of R2023a), and recommends fitmnr instead. It appears to p...

10日 前 | 1

回答済み
Checking whether excel file is opened?
The fopen function can return information about MATLAB instances of the open files, however I am not certain that it can go beyo...

10日 前 | 0

回答済み
how can i resample signals using signal analyzer app
The example in Resample and Filter a Nonuniformly Sampled Signal could be helpful.

10日 前 | 1

| 採用済み

回答済み
trying to find which row this specific date time is at in an excel sheet
The ismember function is an option — ValueAtNumRow = datetime('11-Sep-2023 22:25:26', 'InputFormat','dd-MMM-yyyy HH:mm:ss') d...

10日 前 | 1

回答済み
Scatterplot arrays with different number of elements and tracing the trendline
One option is to reshape the (3x36) arrays into (i08x1) (column) vectors and duplicate ‘M_IRI’ to match by just triplicating it ...

11日 前 | 0

回答済み
Difference between bandpass function and butterwoth bandpass function
I always use the 'ImpulseResponse','iir' name-value pair when using bandpass or its friends. That forces it to design a vewry e...

11日 前 | 1

| 採用済み

回答済み
Finding the 'peaks' of a stairway graph
It would really help to have your data (or at least a representative sample of it that demonstrates the problem you want to sol...

12日 前 | 0

| 採用済み

回答済み
Reformat and Merge Date and Time columns
For what it’s worth — LD = load('RVdata.mat'); data = LD.data data.Date = data.Date + timeofday(data.TimeHHmmss); data = re...

12日 前 | 2

回答済み
Extract interpolated data from contourf?
The contour functions return (x,y) matrices for each contour, and in all likelihood, the ‘x’ values are not the same for both co...

13日 前 | 0

回答済み
Average C/No value for each second
It would help to have the data. The best approach will likely be to create a timetable from it and then use the retime funct...

13日 前 | 0

| 採用済み

回答済み
Use the correct filter on a signal
Frequency-selective filters do not work that way. (Intrigued by this, I attenpted to design one by taking the -transform of the...

13日 前 | 0

回答済み
read file txt with strings and numbers
Use readtable or readcell, depending on what you want. There are other options (textscan), however those two are easiest to use...

13日 前 | 0

| 採用済み

回答済み
Equation with constants and two variables that are ranges of values
Try this — Beta=(0.0:0.10:1.0); T=(473.15:100:1473.15); BigDeltaPlgH2O = (2.91-0.76*Beta) .* (10^6./T.^2) - 3.41 - 0.41*Beta...

14日 前 | 0

| 採用済み

回答済み
how do you offset curves?
Was my answer to your previous post How to invert axes? helpful? In: subplot(2,2,2, 'align'); if you want the time vector ...

14日 前 | 1

回答済み
How to invert axes?
I believe what you want is Reverse — x = linspace(0, 1); y = exp(-(x-0.5).^2*50); figure plot(x, y) grid figure plo...

15日 前 | 0

| 採用済み

回答済み
How to remove incorrect tags from questions?
In the right margin of this page (and the page you want to change), there is a section called (appropriately) Tags. Just to the...

15日 前 | 0

回答済み
How to code NESTED CYCLES
I would set the empty array to 1 (so that it iterates one time only) and be done with it — a = @(x,y) [x y]; f = [3 6 3 9];...

16日 前 | 0

| 採用済み

回答済み
Determining Signal to Noise Ratio
Calculating SNR can be difficult if the underlying signal is unknown. An extended discussion is in the Analyzing Harmonic Disto...

16日 前 | 0

| 採用済み

回答済み
How can I solve for specific complex solutions?
I am not certain what you want. The first step in solving this is to plot the functions. They may either guide you to a solu...

16日 前 | 0

| 採用済み

回答済み
Dealing with transfer function in symbolic math toolbox.
Yes. Once you have the symbolic polynomials in , use the sym2poly function to extract the coefficiinets. (It may be necesary...

16日 前 | 0

| 採用済み

回答済み
What stat test to use for improved task?
Theis seems to me to ba a paired test, so the Wilcoxon signed rank test (the signrank function) would likely be appropriate. ...

17日 前 | 0

| 採用済み

回答済み
Fitting PDE to estimate parameters
I see one problem: residual = Ccalc - Cexp; that is easily fixed by using the norm function (here calculating the square root...

17日 前 | 0

| 採用済み

回答済み
Averaging a curve with itself
Try this — % type('membrane_intensity.m') LD = load('test.mat'); x = LD.cx; y = LD.c(:,1,1); [xs,x1] = min(x); [xe,x2...

17日 前 | 0

| 採用済み

回答済み
how write legend plot right side)
Try this — x = linspace(0, 10); y = randn(size(x,2), 5); figure plot(x, y) legend(compose('Vector %2d',1:5), 'Location',...

17日 前 | 1

| 採用済み

さらに読み込む