Community Profile

# Hussein Kokash

Last seen: 7 months ago Active since 2021

#### Content Feed

View by

Question

Adding scatter points to a contour plot
Hello, I have the following plot code: % Plot the RMS velocity contour contourf(X, Y, rms_velocity_U); colorbar; xlabel('...

1 year ago | 1 answer | 0

### 1

Question

Calculate Wavelength from velocity FFT
Hello all, I have multiple text files, first column positon that makes a line, 2nd is corresponding velocity at each point, t...

1 year ago | 1 answer | 0

### 1

converting column of data to matrix plane
Found: This is an example: % Define the column A = [1;4;7;10;13;16]; % Define the value of n n = 3; % Initialize an em...

1 year ago | 0

| accepted

Question

converting column of data to matrix plane
Hello, I have a data file that has the following shape: x y z U V W -0.026 -0.108 0.1 -4.4822257E-02 5.41394...

1 year ago | 1 answer | 0

### 1

Question

create a variable with multiple time steps
Hello, Is there a way to create a variable that contains data with multiple time steps? I have x and y coordinates of a pl...

1 year ago | 1 answer | 0

### 1

Question

probability density function for a velocity data Vs. position
Hello, I am trying to plot the probability density function of a velocity data I define from a .txt file, the output of the p...

1 year ago | 1 answer | 0

### 1

Question

Dot indexing is not supported for variables of this type in a for loop
Hello everyone, I am trying to execute this code and I am having the following error: clc;clear;close all addpath('/med...

1 year ago | 1 answer | 0

### 1

Question

Root mean square of velocity fluctuations
Hello, I am trying to calculate root mean square of velocity fluctuations in a 2D plane (x,y) coordinates with (U, V) velocity ...

1 year ago | 1 answer | 0

### 1

Question

Undefined function or variable in a POD matlab code
Hello all, I am trying to run the following code: function VelocityDistributionPOD (SnapshotsAddress) %Method of Snapshot...

1 year ago | 1 answer | 0

### 1

Question

Extract signal values from a data file
Hello all, I am trying to extract some basic signal values from a data file that I have which is a plot of a sinosodial wave ...

1 year ago | 1 answer | 0

### 1

Question

replacing xcorr x-axis lags with the original axis
Hello all, Below is a plot of my (x,y) values and xcorr results: data = dlmread('data.txt'); x = data(:,1); y = data...

1 year ago | 1 answer | 0

### 1

Question

Two-point correlation to identify vortex cores
Hello everyone, I am trying to imitate the follwing: Source: Wang, J. S., Feng, L. H., Wang, J. J., & Li, T. (2018). Görtl...

1 year ago | 1 answer | 0

### 1

Question

Memory consumption while using autocorr2 package
Hello all, I am trying to use the following package: https://www.mathworks.com/matlabcentral/fileexchange/86852-autocorr2-tw...

1 year ago | 0 answers | 0

### 0

Question

Show only two y values in a plot
Hello all, Any possible way to show only two value (0.02 and 0.04) for the y-axis, because the other values are just noise. ...

1 year ago | 1 answer | 0

### 1

Question

For loop of an FFT script
Hello, I have a script that works for a single file using dlmread, the output seems to work fine. I need to put it inside a ...

1 year ago | 1 answer | 0

### 1

single sided fast fourier transfrom from a data file
Hello Mathieu, thanks for your input! Actullay at some time steps, the signal looks messy, something like this: That i...

1 year ago | 0

Question

single sided fast fourier transfrom from a data file
Hello everyone, I am trying to use matlab to a number of data files that contains velocity values and different positions that f...

1 year ago | 2 answers | 0

### 2

Question

Fourier series curve fitting amplitude
Hello all, A quick question regarding fourier curve fitting. I am using the following: f=fit(x, y, 'fourier1'); ...

1 year ago | 1 answer | 0

### 1

Question

Choosing one peak out of two in FFT function
Hello, I have a question about how to choose only one out the two peaks that are produced after applying FFT function. I h...

1 year ago | 1 answer | 1

### 1

Question

Adding an extra point in a grid in finite element code
Dears, I am using this code that solves the 1D BVP -au'' + bu' + cu = f in (x0, x1) at x0 to x1. I am diving the intervals to...

2 years ago | 1 answer | 0

### 1

Question

Find Q-criterion and Lambda2 from velocity values
Hello everyone, hope you are doing great. I have a matlab code which reads a file that has x, y and z velocity values, as well ...

2 years ago | 1 answer | 0

### 1

Question

Removing data that exceeds y limit in a plot
Hello all, I have this plot function which I use to plot data, I set the y axis range using ylim figure(3) hold on ...

2 years ago | 1 answer | 0

### 1

Question

Index exceeds the number of array elements in for loop
Dears, hope you are doing fantastic. I have a script that I use to find wavelength and wavenumber by uploading text files and d...

3 years ago | 4 answers | 0

### 4

Question

Store fit output and call them later
Dears, hope all are doing great! I have the following script I use to read files and then fit them using curve fitting, my goal...

3 years ago | 1 answer | 0