Community Profile # LO

Last seen: 11 jours il y a Actif depuis 2018

Programming Languages:
MATLAB
Spoken Languages:
English, Italian

#### Statistiques

• • • • • • • #### Content Feed

Afficher par

Question

Indexing of 1D arrays using 2D mapping information
I have 3 one-dimensional arrays, 2 of them contain XY coordinates while the third (called 'E') contains some other non spatial p...

3 mois il y a | 2 réponses | 0

### 2

réponses

A répondu
Polarhistogram: how to create a "stacked" polar plot?
Assuming you have 3 datasets with 3 different sets of angle measurements in degrees, the following code will plot the polarhist...

4 mois il y a | 0

Question

change signal frequency by known freq step
Hi everyone, I would like to shift the frequency of raw sinewave data (around 600 Hz and recorded at sampling freq of 20kHz) of ...

8 mois il y a | 1 réponse | 0

### 1

réponse

A répondu
Simulation of electric fields
check this, maybe it helps https://de.mathworks.com/matlabcentral/fileexchange/42538-compute-induced-electric-field

environ un an il y a | 0

Question

export MATLAB figure in PDF
I read several posts about this but I could not find a solution. when I try to export a figure to PDF it is saved anyway as BMP...

presque 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

signal amplitude using FFT - conflicting results and misunderstandings
I am trying to measure the amplitude of different frequencies composing a signal using some code found here on this post. Using...

presque 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

I moved files into a .... file and can't access them anymore :)
Hi all I used the function movefile (MATLAB 2018a). My file name is stored in the variable filename. I run the lines mkdir('f...

presque 2 ans il y a | 1 réponse | 0

### 0

réponse

A répondu
How to extract one element from array in function?
It is not clear what you want the function to do. What is t? and theta? If your aim is to apply a fixed transformation of thet...

environ 2 ans il y a | 0

Question

live operations on acquired data stream
I am trying to plot and make online calculation on analog data acquired through a national instrument device. I am using the fol...

environ 2 ans il y a | 1 réponse | 0

### 0

réponse

A répondu
How to resolce callback error : asyncio.Channel/onDataReceived ....line(487):::
I had the same problem. Check if you have two listeners (or also function callbacks) aiming at the same data stream. For me tha...

environ 2 ans il y a | 0

A répondu
Division of two Multidimensional array
you can iterate the 2D division A = rand(30,10,30); B = rand(30,10,30); sz=size(A); r = cell(sz(3),1); for i = 1:sz(3) ...

environ 2 ans il y a | 0

A répondu
Can anyone help me on implementing gaussian noise on an ecg signal? If you want i can share my code. The problem is gaussian noise is 0 always.
I tried to fit some params, you can use the function wgn (white gaussian noise, see documentation) Fs = 20000; sig = 1/abs...

environ 2 ans il y a | 0

A répondu
How to find the pole is oscillatory or not?
shouldn't an oscillatory system correlate with itself, with a certain periodicity ? try this https://de.mathworks.com/help/e...

environ 2 ans il y a | 0

A répondu
How to concatenate elements of a cell array
if your cells are all of the same size, try using cell2mat (to convert your cell into array) and then reshape (to change the siz...

environ 2 ans il y a | 0

| A accepté

A répondu
Is there a way to only read every third row of a .csv file?
import the file and the use logic indexing, double check if it is selecting the right rows, if not just change the index array t...

environ 2 ans il y a | 0

| A accepté

A répondu
How to plot surface with contour form vertices?
try this https://de.mathworks.com/matlabcentral/fileexchange/5105-making-surface-plots-from-scatter-data

environ 2 ans il y a | 0

| A accepté

A répondu
Export axes error using app designer
have you tried using for each iteration saveas(gca,'figure.jpg') you would have to change the file name each time by adding a ...

environ 2 ans il y a | 0

A répondu
Improve efficiency of elseif loop
You don't need the loops, you can use logical indexes. This will speed up the process.If your Power array has 1 dimension you ca...

environ 2 ans il y a | 1

| A accepté

A répondu
To Get Correct FFT Result the length(x) must be An Integral Multiple of 100?
the fft function will give you values as precise as the sampling rate of the signal. If it is a noisy signal, error can be cause...

environ 2 ans il y a | 0

A répondu
Formula basic fitting curve Matlab
This is an excerpt from the help page of the interactive fitting function you are using: The polyfit function performs the tran...

environ 2 ans il y a | 0

| A accepté

A répondu
Data transfer between normal pc and MATLAB system through ethernet

plus de 2 ans il y a | 0

A répondu
is there any function for CalinskiHarabasz just like silhouette(X,cidx) in matlab
yes, here load fisheriris; eva = evalclusters(meas,'kmeans','CalinskiHarabasz','KList',[1:6]) this is the usual silouhette pl...

plus de 2 ans il y a | 0

A répondu
How can I change graph label linearly to a time interval
you can create a time vector and plot it together with your data time = linspace(1,3000,3000) plot(time, rand(1,3000))

plus de 2 ans il y a | 1

| A accepté

A répondu
How can I grab only certain files from a folder?
first create a list of the files, then check which one has the second last digit pair lower than 08, then copy it to a given fol...

plus de 2 ans il y a | 0

| A accepté

A répondu
Heat maps with 3 variable
you can use the function "scatter3", if you have 3 variables (this will display a scatter plot of x and y and z on the 3rd axis)...

plus de 2 ans il y a | 0

| A accepté

A répondu
How to split into small pieces of ranges of this graph?
this plots first the first half then the second subplot 211 plot(x(1:numel(x)/2),y(1:numel(y)/2)) subplot 212 plot(x(numel(...

plus de 2 ans il y a | 0

A répondu
Colormap appears darker on another plot, how to change that ?
you could change the colormap of your plot/s by adding (or subtracting) fixed values according to your needs k = 0.01; % factor...

plus de 2 ans il y a | 0

| A accepté

A répondu
help with image threshold using bioformats
your threshold values are different among channels so it is not strange for the image to have "false colors". if you think ther...

plus de 2 ans il y a | 0

| A accepté

A répondu
angle between two lines
FIRST you get the angle between white and blue (it does not matter which angle, the procedure is the same, you just have to adju...

plus de 2 ans il y a | 0

A répondu
CSV file reading and applying loop to plot graphs
first import one single CSV file and select coumns and rows of what you want usually to import. Generate the code by clicking t...

plus de 2 ans il y a | 1