Answered
Find and extract column values from a text file
So , hopefully now a solution that works I put the excel output file as well, that includes min and max values for beccheg alre...

6 years ago | 0

| accepted

Answered
Power Spectral density of function with an offset
Hi I modified your code. there were several bugs there.... but FYI an offset is just a DC value, so in the FFT (or psd) spectru...

6 years ago | 1

Answered
Need help setting up function and graphing
Hi First correction in your subfunction : there was missing code (see comments) : V, Nc, Nb, Na are not defined (how they are l...

6 years ago | 0

| accepted

Answered
Find and extract column values from a text file
hello see below : fid = fopen('data.txt'); tline = fgetl(fid); k = 0; start_line = 9; while ischar(tline) ...

6 years ago | 0

Answered
Arbitrary Group Delay Filter Design Specification
Hi If I were you, I would design multiple parallel bandpass filters centered on the octave or 1/3 octave frequencies (for ref...

6 years ago | 0

Answered
How to use ''offset'' to determine its position ?
hello the code is intened to remove rows in an image . I tested the code to check it nr is the qty of rows to remove offset...

6 years ago | 0

| accepted

Answered
I am generating a sine wave with a phase difference. The peak amplitude however seems to scale with the phase difference, which should not be case. Any suggestions to where this code is going wrong ?
hi problem solved - see below I also increased your sampling frequency (360 x 15 Hz) so that you get the best results accuracy...

6 years ago | 0

| accepted

Answered
Matlab Analog Filter Grpdelay
Compute the group delay response of the filter as the derivative of the unwrapped phase response. [h,w] = freqs(b,a,1000); gr...

6 years ago | 0

Answered
What should I do in order to make my code plot like this?
hi this is the modified code sap = input('Select a program: 1. Arts; 2. Science; 3. Engineering: '); nb(1) = 2000; mir =...

6 years ago | 0

Answered
Reading a certain portion of an ASCII file
here you are all the best clear all clc % Read and display the file fgetl.m one line at a time: % line#1 section# ...

6 years ago | 1

| accepted

Answered
How to create a direct lookup table with data from 3 vectors with different dimensions
hello here you are . I used interp2 function to do the interpolation. But you have to do the interpolation on each individ...

6 years ago | 1

| accepted

Answered
Rounding set of number to closest number in array
hello I think this function should do the job all the best

6 years ago | 0

Answered
How to write a for loop which will take in all .wav files in a directory, compute spectrogram and save as an image
hello no panic ! I have the solution for you the main function is : auto_process_all2.m it needs the subfunction : spectro...

6 years ago | 0

Answered
Help in understanding the Power Spectral Density estimates using FFT
hi the explanation is just above Zero frequency (DC) and the Nyquist frequency do not occur twice. thats why the factor 2...

6 years ago | 1

| accepted

Answered
filtfilt vs. filter vs. self-implemented zero-phase filter
hello I found that your are using a narrow bandwith, high order filter, so that generates a looong impulse response. with you...

6 years ago | 0

Answered
Uploading a series of tif files into workspace in matlab
hi below a simple example. The tif files should be located in the same directory as the m file (in my example) % select appro...

6 years ago | 0

Answered
Can I use tachorpm() function to get rpm from a TTL pulse?
hello I have prepared this demo for you - based on a signal recorded as wav file. you can adapt to your own data file format. ...

6 years ago | 0

Answered
Problem with an algorithm
hi again i think I have something for you. I ended up doing it completly different : compute all combinations but keep only the...

6 years ago | 0

| accepted

Answered
Plots using multiple files
ok - so this is my suggestion for problem 4 there are for sure a more elegant way to manage file names and variables names toge...

6 years ago | 1

| accepted

Answered
How to load tabular data correctly and make this code work?
hello there was no big mistakes here - just may be this : just remember that when you load ascii / txt files, you should pu...

6 years ago | 1

| accepted

Answered
Matlab - create a table from a vector in the first row and another in the first column
hello i noticed some mistakes regarding usage of f and fp : you have initialised as vectors of decimal scalars. Then later on...

6 years ago | 1

| accepted

Answered
transfer functio S to z
help c2dm help c2dm C2DM Conversion of continuous LTI systems to discrete-time. [Ad,Bd,Cd,Dd] = C2DM(A,B,C,D,Ts...

6 years ago | 0

Answered
Warning in ReadUff() Function
hello again I could open succesfully your file using the attached readuff file all the best ! clc clear all [Uff...

6 years ago | 0

Answered
Need Help Compressing/ Simplifying this Code
hello try this code : % select appropriate options below ... % files = dir('*.tif'); % all tif files in current dire...

6 years ago | 1

Answered
How to save complex number data in single excel file with multiple tabs?
Hi SEE ATTACHEMENT this should work. I corrected your code using also some info from another submission : https://www.mat...

6 years ago | 0

Answered
Looping through different files with sprintf
Hello I see you get already an answer otherwise you can also do the same loop using dir example attached my solution w...

6 years ago | 0

Answered
How can I filtrate recorded time acceleration signal with 4th order Butterworth low and high pass filter ??
hello below a script you can use / modify to fit your own needs ; You may have to change the way you load the time data (exa...

6 years ago | 0

| accepted

Question


setpath not working on 2015a
Hi I have upgraded to ML 2015a I wanted to add my toolboxes in the path but I always get an error that "pathdef.m" could not...

11 years ago | 2 answers | 0

2

answers