Community Profile

photo

Giggs B.


Last seen: 2 months ago Active since 2021

Statistics

  • First Answer
  • Revival Level 1
  • Thankful Level 3

View badges

Content Feed

View by

Question


Convert txt files in csv/xlsx files
Hello, I have a couple hundreds of txt files, where a number is written in each row. I want to convert all these hundreds of tx...

2 months ago | 1 answer | 0

1

answer

Question


How to add gain to an audio signal?
Hi, I wanted to ask if there is a way to add gain to an audio signal using MATLAB? For ex., I have an audio file, and I want ...

4 months ago | 1 answer | 0

1

answer

Question


What could be the possible reason behind curved signal?
Hi, This question is not directly related to MATLAB, but if someone can help me, I would really appreciate. I have a MEMS micr...

5 months ago | 0 answers | 0

0

answers

Question


Write calculated values to an excel file in column 2 and the file name in column 1
Hi, I have the below code. I have ~4000 csv files in a folder. What I require: I am doing filtering on all these files (one a...

5 months ago | 1 answer | 0

1

answer

Question


Same filters but using different methods give different results
Hi, I am getting different results when using the [b,a] filter method and [z,p,k] method. My code goes like this: for loop fo...

6 months ago | 1 answer | 0

1

answer

Question


Why do I receive this error "Invalid data type. Input arrays must be numeric or logical."?
Hi, I have a couple of .csv files and I am trying to read them first and then filter them out in a loop. But when I use "readta...

6 months ago | 1 answer | 0

1

answer

Question


Problem with saving plots
I have the below code. I want to save the file in bmp format. clearvars indir = '.'; %current directory outdir = 'C:\Users\...

6 months ago | 1 answer | 0

1

answer

Question


Read csv files and save the plots (.bmp format)
Hi, I have a code which reads data from all the csv files and converts them to wav files with the same name as the csv file in ...

6 months ago | 1 answer | 0

1

answer

Question


Convert csv file to .wav file with same file name
Hi, I think this would be very simple, but I am unable to pass the csv file name to my .wav file. My plan is to read a csv file...

6 months ago | 1 answer | 0

1

answer

Question


Rescale values based on a particular value
Hi, I have a .csv file with ~200k values. I want to rescale the values to range -1 to +1. I know the rescale function can do th...

7 months ago | 1 answer | 0

1

answer

Question


How to convert an excel file (.csv) to a .wav format/any other audio format file?
Hi, I have an excel file which has ~200k data samples stored in one column and I want to convert the data from that file into a...

7 months ago | 2 answers | 0

2

answers

Question


Amplitude of signal not matching up after filtering when calculating it using different methods.
Hi, I am running a code where I am generating a signal. I am doing processing on the signal using 2 ways mentioned below: I am...

1 year ago | 1 answer | 0

1

answer

Answered
Units of kHz in frequency plots
I know its late to answer, but for someone who faces the similar problem, try this: set(gca,'XTick',[0.003, 0.008, 0.020, 0.050...

1 year ago | 0

Question


Find energy for each second of audio file
Hi, I have an audio signal which has 44.1 KHz sampling rate, which would be stored as an array. I am trying to find energy for ...

1 year ago | 1 answer | 0

1

answer

Question


Signal is not getting filtered properly
Hi, I am trying to implement 4th order high pass elliptical filter with cut-off frequency at 500/510 Hz at 20 dB passband and ...

1 year ago | 1 answer | 0

1

answer

Question


Why is my loop not working?
Hi, I have a code, where I am using elliptical bandpass filter and trying to filter some signals and calculate total power for...

1 year ago | 1 answer | 0

1

answer

Question


Different frequency responses using [z,p,k] method and [b,a] for 2nd order elliptical filter
Hi, I am designing an elliptical filter and using 2nd order. My code is below, however, both of them display different frequency...

1 year ago | 2 answers | 0

2

answers

Question


How to change order for different filters?
Hi, I have 2 questions: What order filter does y = highpass(x,fpass,fs) and y = lowpass(x,fpass,fs) use? How can I check the f...

1 year ago | 1 answer | 0

1

answer

Question


Getting error using syms to implement power formula
Hi, I am trying to implement the power formula which is in the attached image. I have written my code like this: . . sy...

1 year ago | 1 answer | 0

1

answer

Question


Why are the legends appearing twice?
Hi, Please refer to the image. I don't know why my legends are appearing twice...can someone please help me? I tried a couple o...

1 year ago | 1 answer | 0

1

answer

Question


How to align the power plot correctly?
I am calculating power of signal for each second and then plotting it on the power plot graph. What I want: For example the powe...

1 year ago | 1 answer | 0

1

answer

Question


How do I calculate power for each signal?
So, I have an audio signal with fs=8192 and total samples=73113, which gives the total duration of the signal as 8.9249 seconds....

1 year ago | 2 answers | 0

2

answers