Community Profile

# Shoaibur Rahman

### Baylor College of Medicine

Attivo dal 2014

Followers: 0   Following: 0

Specialities: Systems Neuroscience, Machine Learning, Data Science, Statistical Inference, Signal Processing, and Image Processing

All

#### Feeds

Visto da

Domanda

Frequency scaling of audio signals
I have an audio signal x[n], whose frequency varies over time. It's FT is X[k]. I want to reconstruct an audio signal (x_hat[n])...

oltre 5 anni fa | 0 risposte | 0

### 0

risposte

Domanda

Inverse Fourier Transformation with a function in the exponent
I have a signal x[n] with it's Fourier Transform X[k]. I want a frequency-warped signal (x_warp[n]) by taking the inverse Fourie...

oltre 5 anni fa | 0 risposte | 0

### 0

risposte

Domanda

Shuffling a vector for n times to generate a new vector
A is a vector. I want to shuffle its elements for n times to generate a new vector. For example: A = [3 5 1]; out = [Shu...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Generating a long vector from two other vectors
I got stuck with a (may be) simple problem. Here are two vectors, like: a = [20 13 24 ...]; b = [3 2 4 ...]; How can ...

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Risposto
Receiving Matrix Dimensions Do Not Agree Error
Instead of Y use Y transpose as Y' in the last line of your code. X=inv(A)*Y' However if you use the following line inst...

circa 9 anni fa | 2

| accettato

Risposto
How to delete a row from a Financial Time Series?
This works here, delete rows 2 from 4: A = [1 2 3; 4 5 6; 7 8 9; 2 4 6; 1 3 5]; A(2:4,:)=[] When using your code, do ...

circa 9 anni fa | 1

Risposto
a = ...your 100 x 1 x 51 data; bb = squeeze(a); surf(bb)

circa 9 anni fa | 2

| accettato

Risposto
Bump --> How to change tick label fonts in Matlab figure
Here is an example on how you could use set function to accomplish your job. Delete any pairs of input arguments if not required...

circa 9 anni fa | 1

| accettato

Risposto
how to convert an image into bits???
It is not clear to me exactly what is your goal? Are you trying to convert image pixels into binary bits? If so, you can use dec...

circa 9 anni fa | 2

Risposto
Save cubic spline coefficients to use as response in regression
pp = spline(x,y); NewValue = [1 2]; % may be scaler or vector out = ppval(pp,NewValue)

circa 9 anni fa | 1

Risposto
Find a value with cell array.
A = your cell... out = A(cell2mat(A(:,1))==7,2)

circa 9 anni fa | 1

Risposto
how to calculate a serie of a function with two variables
% xi eta x =[1 2;... 3 4;... 4 5;... 6 7]; y = sum(x) % only sum of all elements alon...

circa 9 anni fa | 1

Risposto
How can I fill a matrix column with dta coming from another matrix according to index
A = [(1:9)' ones(9,1)]; B = [1 10; 2 10; 4 10; 7 10]; C = NaN(size(A,1),1); C(B(:,1)) = B(:,2); C = [A C]

circa 9 anni fa | 1

Risposto
how to find peaks in jpeg image
You can try with Mablab's findpeaks function, or see the attached code in file exchange: <http://www.mathworks.com/matlabcent...

circa 9 anni fa | 1

Risposto
I need to match following images
There are many sophisticated methods to do so. However, you can try with: out = ssim(TestImage,refImage) This computes t...

circa 9 anni fa | 1

| accettato

Risposto
How to check two unbalanced matrix?
Another way may be: X=[1;2;3;4;5]; Y=[2]; Z = X(X==Y)

circa 9 anni fa | 1

Risposto
how to crop an image
I don't see any image attached. Anyway, you can try with: *roipoly* to select the image region and crop manually, or *imcrop...

circa 9 anni fa | 1

Risposto
how can i display a gray scale image instead of mapping 0,255 , between 0 , 127 ?
NewImage = 127*mat2gray(Image)

circa 9 anni fa | 1

Risposto
A simple fsolve problem from a MATLAB beginner
Define underwoodroot function separately, and call them from another m-file. In one m-file, write the following code, and sav...

circa 9 anni fa | 1

| accettato

Risposto
How can convert a image from type of double(unit16) to a grayscale image?
ImageGray = mat2gray(ImageDouble);

circa 9 anni fa | 1

Risposto
how can i find a fuction which define input and output of a system?
Use: p = polyfit(x,y,n) % n is degree of polynomial, use a value that best fit your data To check the fitting: y_fi...

circa 9 anni fa | 2

| accettato

Risposto
How to concatenate several matrices into one matrix?
Perhaps, you mistyped. It is C = [A; B] for different number of rows, but similar number of columns. Anyway, how your matrices a...

circa 9 anni fa | 3

| accettato

Risposto
Multi level sorting and filtering
[~, ~, D] = xlsread('Multilevel_sorting.xlsx'); A = D(3:end,1:2); % your data in table 1 G = {'Group1','Group2','Gro...

circa 9 anni fa | 1

Risposto
Acceleration vs Time data into FFT
Define the number of DFT points N, and then perform the fft. N = pow2(nextpow2(length(signal))); y = fft(signal,N); ...

circa 9 anni fa | 1

Risposto
Recode strings in Cell array
indx = 0; for k = 1:size(codes,1) if strcmp(codes(k,1),'Home') && strcmp(codes(k,2),'5') indx = indx+1; ...

circa 9 anni fa | 1

| accettato

Risposto
Solving system of nonlinear euations
syms x y [x,y] = vpasolve(x^2 + y^3 == 1, 2*x + 3*y == 4, x,y)

oltre 9 anni fa | 1

| accettato

Risposto
manually draw shapes (like using a pencil to draw on figure) on opened image
Try: roipoly

oltre 9 anni fa | 1

| accettato

Risposto
How Can I Assign variable Name?
x = 1:5; eval([datestr(date,'mmmm_dd_yyyy') '= x']); x is stored in a new variable named based on today's date. If you r...

oltre 9 anni fa | 1

Risposto
Compound Poisson Distribution Model
I am not sure if I understand your question correctly. I guess once you get P, then you would like to choose its elements random...

oltre 9 anni fa | 1

| accettato

Risposto
How is this an exponential curve?
Convert your difference equation into differential equation: y(i+1) = y(i)-y(i)*h; y(i+1) - y(i) = -y(i)*h; (y(i+1) -...

oltre 9 anni fa | 1

| accettato