回答済み
Adaptive PID Controller For DC Motor Speed Control
hello maybe this ? clc clearvars % To control the speed of a DC motor using an adaptive PID controller in MATLAB, you ca...

3ヶ月 前 | 1

| 採用済み

回答済み
how to time shift a set of data?
so this is what I tried in order to time shift the 12th voltage vs the others find the indexes for the last sample above 3.6 V...

3ヶ月 前 | 0

| 採用済み

回答済み
How do I hold a value in Simulink for the rest of the simulation time?
hello this would be my suggestion , using only a delay (or memory ) block associated with a conditionnal block when t>= you...

3ヶ月 前 | 0

| 採用済み

回答済み
box plot from timetable data
hello Giulia you can do a box plot directly with timetable data example : % Create a sample timetable time = datetime({'...

3ヶ月 前 | 0

| 採用済み

回答済み
Group multiple lines to one "object" and be able to "toggle" on or off
hello To group multiple lines into a single "object" in MATLAB, you can use a hggroup or hgtransform object. here your code...

3ヶ月 前 | 0

| 採用済み

回答済み
How to interpolate 10 csv files with different x,y,z into a common grid and average them in MATLAB?
hello again this would be my suggestion : once we have loaded all the data , we can see the shape looks pretty much like a p...

3ヶ月 前 | 1

| 採用済み

回答済み
How to generate a torus structure in MATLAB similar to Minecraft builds?
hello Sarah maybe this ? to create the initail mesh I used this fex submission : Mesh/Voxel spheres, ellipsoids, toroids, an...

3ヶ月 前 | 0

回答済み
Finding peaks and valleys, and associated indexes, of time-shifted noisy sinosidal waves
Following my first comment above , this could be another approach extract blocks of data (you need to find the start and stop ...

4ヶ月 前 | 1

回答済み
Selecting smaller grid from a grid to create a video
hello Andrew see this code demo to read the video , extratct each frame then crop the unwanted borders and save back to a vide...

4ヶ月 前 | 0

| 採用済み

回答済み
How to populate tiles using the next tile command with a variable number of data and a variable number of plots
hello seems to me the question is more about how to prepare / concatenate your individual data - either something very simpl...

4ヶ月 前 | 0

| 採用済み

回答済み
Subtract a gain value in dB from rfplot
see last section of this help : retrieve the appropriate value to the gain output. In MATLAB, the rfplot function is used to ...

4ヶ月 前 | 0

回答済み
how to control the transparency of quiver
hello either you use your own alternative to plot arrows with transparency control (see the Fex) or just simply put your qui...

4ヶ月 前 | 0

回答済み
Signal separation of displacement multimodal superposition in structural dynamics
hello you could do that : clc; clear; L = 10; v = 1; A1 = 1; A2 = 0.1; x...

6ヶ月 前 | 1

回答済み
Why is the smoothing effect of【 pcolor() shading interp 】worse on 2025a than the old version 2023b
hello maybe a temporary work around could be here to resample the data on a finer grid seems to me the interpolated data pco...

6ヶ月 前 | 1

回答済み
Trying to determine locations of markers in image
hello maybe this ? not perfect but you may refine it and get as much dots as we / you can % Read the grayscale image img =...

6ヶ月 前 | 0

| 採用済み

回答済み
data values are changing when I try to put markers, line width etc.
hello instead of calling semilogy inside the for loop simply use the regular plot and after the for loop ask for log Y scalin...

6ヶ月 前 | 0

| 採用済み

回答済み
Extracting spot coordinates from an given line in an image for an almost regular hex pattern of spots but when there is a slight tilt on Y coordinate values.
hello again maybe you could implement this method : %% create some dummy pattern of centroids % center of image (central s...

6ヶ月 前 | 0

| 採用済み

回答済み
Transforming graphs horizontally and vertically to properly compare
hello so I decided to do some x shift on your data based on the 3 major peaks x locs you can use the regular findpeaks but I...

6ヶ月 前 | 1

| 採用済み

回答済み
Real Time System Identification Problem
hello again well this is only a first rapid trial... without big success unfortunetaly (and I wished you had also posted you...

6ヶ月 前 | 0

回答済み
How can I calculate the power spectral density of a gaussian pulse?
Gaussian Pulse - FFT & PSD in Matlab & Python - GaussianWaves

6ヶ月 前 | 1

回答済み
How to have a same size of the image with out distortion in a subplot along with the graph?
hello there is a very detailled example here how to manage subplots dimensions (if you want to master it) How do you match t...

6ヶ月 前 | 1

| 採用済み

回答済み
How to create a concave signal step/ramp in Simulink?
hello again attached a small demo simulink file in blue I highlighted the first order system based on a simple recursive equ...

6ヶ月 前 | 0

| 採用済み

回答済み
Plotting level sets of a function on a triangulated surface.
hello this is maybe not yet the perfect solution, but ....you can get your curves as 3D points , isolated in separate clusters...

6ヶ月 前 | 0

| 採用済み

回答済み
Annotation text box appears fuzzy
hello according to the doc TextBox - Text box appearance and behavior - MATLAB you can tweak the properties of the box , f...

6ヶ月 前 | 0

回答済み
How do you match the width of figures in a tiledlayout when using axis equal?
hello well using axis equal will give you different tile widths according to your data range, so for me, there is a conflict be...

6ヶ月 前 | 2

回答済み
imfindcircles doesn't work
hello let's try with your image AA = imread('circle.png'); AA = rgb2gray(AA); BW = imbinarize(AA); [B,L,N] = bwboundarie...

6ヶ月 前 | 0

| 採用済み

回答済み
Low frequency results using poctave
hello right, poctave does not go below 3 Hz in the best case and that's already low enough for acoustics (normally) unless y...

7ヶ月 前 | 0

回答済み
How can I plot an impulse (sech(x)) consisting of 2002 points, where last 1001 point are zeros?
hello if you have a recent release (Since R2023b) you can use paddata : here we pad the four first non zero values (your first...

7ヶ月 前 | 1

| 採用済み

回答済み
Avoiding zeros doesnt wrok while plotiing from a data file.
hello one method is to use interpolation to fill the voids (NaN) % Example data with NaN values x = 1:10; y = sin([1, 2, N...

7ヶ月 前 | 0

| 採用済み

回答済み
Waterfall diagram and fft for a vibration of an electric motor
hello again this is a demo based on your previously posted data (could not load the one in this post) spectrogram + time plo...

7ヶ月 前 | 0

| 採用済み

さらに読み込む