Question

Loading Files of Similar Names into Script

So I have 7 files labeled the following: Run1S01_TPIV, Run1S02_TPIV, Run1S03_TPIV,.... all the way up to Run1S07_TPIV. I hav...

5 days ago | 1 answer | 0

Question

Extracting Slices From Slice Function

I have a volume that I am seperating into individual slices, here is the follwing code: figure, S = slice(xGrid2,zGrid2,yGrid...

11 days ago | 1 answer | 0

Question

Using imsharpen with imagesc

Can you use imsharpen with imagesc? Trying to use imshapren with the following code: figure PLIFData_rot = (flipud(PLIFda...

27 days ago | 0 answers | 0

Question

Cell to matrix average

I have a cell array consising of 93x1 cells(named velocitydata). Each cell consists of a 145x147x19 matrix. I want to average th...

1 month ago | 2 answers | 0

Question

Using sprintf() command

Is this the correct way to use this command? flame_x1 is a matrix. n = 4; Fuel = JP5; %%% Upper Flame sprintf('%s_xvalues_u...

3 months ago | 1 answer | 0

Question

Intersection of data Points

I have the following plot and would like to save the points at which the horizontal line crosses the gaussian line. The horizont...

4 months ago | 1 answer | 0

Question

Trace Image from Intensity

I have the following image and want to plot a line that follows the outline of the image based on the intensity. I considered us...

4 months ago | 1 answer | 0

Question

Matlab: Matrix with negative numbers

0 I have a matrix, A = [745 x 678], which consists of negative and positive values. I would like to make all the negative numbe...

4 months ago | 2 answers | 0

Question

Matrix Division: Different sized matrices

I have one matrix A = [745 678]. I have another matrix B = [745 1]. I want to compute A / B. I want the result to be a [745 6...

5 months ago | 2 answers | 0

Question

Converting Photos to a Video

I have 49 photos and want to turn them into a video. The timing of each frame is set to .005 seconds. The first loop reads in th...

5 months ago | 1 answer | 0

Question

Cropping a Folder of Images

I am trying to crop multiple images instead of cropping them on at a time. I tried using the "imcrop" command but the result was...

5 months ago | 1 answer | 0

Question

Animated Zoom in for Plots

So I have a plot that is displaying a variety of different lines and I want to zoom in on a particular section by the click of t...

6 months ago | 0 answers | 0

Question

Finding Min and Max of a sinusoidal function

Hi, So I have the following code and I want to find the min and max of the function. I tried using 'xmin' and 'ymin' but it ...

7 months ago | 2 answers | 0

Question

Plotting Transmission Loss with for loop

Hi, So I am trying to plot the following script but all I am getting is an empty plot with an x-axis going from 2999 to 3000...

7 months ago | 1 answer | 0

Question

Using Imagesc() then solving for the locations of the max values

Hi, So I am trying to go from an imagesc() plot to finding the coordinates of the maximum values of the coordinates in the p...

10 months ago | 0 answers | 0

Question

Plotting Sound Pressure Level

Hi, So I am trying to plot the eqution: The final solution should look like what is attached. I constructed it using a l...

11 months ago | 1 answer | 0