Respondida
Put arrow and its value in a plot
hello this is a simple example , based on the fex submission : arrow - File Exchange - MATLAB Central load('data_ask_MLD'...

alrededor de 1 año hace | 0

Respondida
LQI controller is weirdly slow in response and doesn't always reach a goal on plant
hello again used a simplified version of your model and applied simple PID control (easier for real time conversion) : % Def...

alrededor de 1 año hace | 1

Respondida
rms of noise signal
hello to get the correct result, you need two uncorrelated random generators. here you are using the same seed , so the two ou...

alrededor de 1 año hace | 0

Respondida
Sinewave with log frequency - Shows the wrong frequency content
hello you have to compute the angle increment vs time then take the sine of that angle (or, in other words, do the integral of...

más de 1 año hace | 0

| aceptada

Respondida
improve fit compared to R
hello I interpreted your question as how to fit a U shaped function to your data , so at the end I opted for a parabola , is t...

más de 1 año hace | 0

Respondida
Sampling time of matlab figure data
hello to retrieve data from a figure , you can do it by two ways : for recent releases : openfig('data points.fig'); set(...

más de 1 año hace | 0

| aceptada

Respondida
Interpolate pairs of values from matrix
hello you can surely get the required x , y data for a given z value ; use contour for that purpose as shown in code example b...

más de 1 año hace | 0

| aceptada

Respondida
how to extract (x) coordinates and (y) coordinates of the top boundary from bwimage
hello this is a solution that does not even require the Image processing toolbox of course I had to do a bit of gym to conver...

más de 1 año hace | 0

Respondida
Trouble in reading .tdms file
hello No toolbox required here - I simply used this Fex submission (files are attached if you prefer the fast way) ConvertTD...

más de 1 año hace | 0

| aceptada

Respondida
Plot Fourier Transform (FFT) Interpolation Model into future
hello Giacomo first I corrected some minor bugs (before we dig into more technical stuff) A is an amplitude so you should t...

más de 1 año hace | 0

Respondida
Colormap generated using the information of different arrays
hello Richard again you were pretty close to the solution , but to actually make the transparency work you should replace this...

más de 1 año hace | 1

| aceptada

Respondida
comment savoir si un dossier est vide
hello The dir structure will return only the two directories entries '.' and '..'. So, check length(d)==2, if that is the cas...

más de 1 año hace | 0

Respondida
Moving window percentile computation using Conv
hello maybe this ? NB it does not need conv but requires Statistics and Machine Learning Toolbox % dummy data t= 0:0.25:100;...

más de 1 año hace | 0

| aceptada

Respondida
Why does the signal become thicker after noise reduction and the dots on both sides diverge?
hello again you can already get decent results with smoothdata , other smoothing techniques based on splines or NN could also ...

más de 1 año hace | 0

Respondida
extracting overlapping portions of 2 similar tracks
hello you could do something like this ... I have manually checked which track is the longest and the code works here because ...

más de 1 año hace | 0

Respondida
Matlab code to find the Wave height
hello again I am by no means an image processing expert, but sometimes I go outside my comfort zone ... hopefully my suggestion...

más de 1 año hace | 0

Respondida
how to separate the real and imaginary parts inside a cell
Maybe this ? % create dummy data n = 32; for k = 1:2 cellarray{k} = k*ones(n,n)*(1+1i*5); end % process it for ...

más de 1 año hace | 0

Respondida
Change format of field contour labels that have been manually added in a tiled layout
why not create explicitely the levels (V array) ? a = 0.98; b = 1.02; Z = peaks(99)/100 + (a+b)/2 ; XY = [-0.375:.125:.37...

más de 1 año hace | 0

| aceptada

Respondida
How to find center and radius of an arc from binarized image
hello this is what I can offer you today you will need the attached function (CircleFitByTaubin.m) , and this Fex submissio...

más de 1 año hace | 0

Respondida
How do i show the "delta" difference between the two plotted curves?
hello you need to "realign" your two data sets vs common x vector - in other words we need to creat a new x vector and inter...

más de 1 año hace | 0

| aceptada

Respondida
Extraction of the spatial coordinates of a curve and calculation of the normal line to each of its points
hello tried a few things here As far as I have understood correctly your question, the points you are looking for are given ...

más de 1 año hace | 1

| aceptada

Respondida
Put to white the plot space outside a geometric shape
hello have you checked that the colorbar is symetric around zero (to have white color correspind to zero exactly ? ) this re...

más de 1 año hace | 1

| aceptada

Respondida
Error: unrecognized function or variable "bi2de"
Thanks to this post it was easy to (re)create the missing / unknown bi2de function (see end of the code) : Most efficient way to...

más de 1 año hace | 0

Respondida
comment afficher une image à un endroit spécifié d'un axe ?
hello Daniel you need to freeze your axes , otherwise you will not get the desired results here I simply used "hold on" after...

más de 1 año hace | 0

Respondida
Converting cell array with <missing> elements to numerical or double matrix
hello if you want to stick with readcell, you could do that : clc InputData=readcell('MATLAB_readcell.xlsx',"Sheet","Sample...

más de 1 año hace | 0

| aceptada

Respondida
Is there a way to crop an array depending on the values that I want through a function as the values change?
hello try this : a = [0 0 0 0 1 1 1 1 1 0 0 0 1 0 0 0 0 1 1 1 1 1 0 1 1 1 1]; ind = logical(a); [begin,ends] = find_st...

más de 1 año hace | 0

| aceptada

Respondida
Slicing arrays and save it in the file
hello with your input data in attachment, try this code : % load data data = readmatrix('data.txt'); % or readtable if yo...

más de 1 año hace | 1

| aceptada

Respondida
Script has no errors, but no plot is given
again... let's fix it I cannot check here if e^(r(i)^2) (probably wrong) must be replaced by exp(r(i)^2) - I let you double ...

más de 1 año hace | 0

Respondida
Use of eig(A) for eigenvectors
hello let's fix it 1/ had to remove the trailing end - there's simply no reason to have an "end" at the end of your code - p...

más de 1 año hace | 0

| aceptada

Respondida
The blank before var >0.5 cause error in R2016a
I don't think it has to do with a specific release I have the same result with R2020a now either you put no space or at least...

más de 1 año hace | 1

Cargar más