Alexandra McClernon Ownbey
Followers: 0 Following: 0
Feeds
提问
count number of rows in csv outside of matlab
I have 10000+ csv files I would like to import into matlab. I only need the data from the first and last rows for inlet and exi...
3 years 前 | 3 个回答 | 1
3
个回答提问
Map triplets to a matrix
I have multiple structured meshes of a 2-D mesh that I merged together in pointwise (technically making it unstructured). The da...
4 years 前 | 1 个回答 | 0
1
个回答已回答
Perform AND operations with multiple matrices
This may not be the most efficient way, but it works. I stored everything in a logical and then compared the k-dimension in that...
Perform AND operations with multiple matrices
This may not be the most efficient way, but it works. I stored everything in a logical and then compared the k-dimension in that...
4 years 前 | 0
已回答
coonecting line closer to next xy coordinates based on distance
x = pointdbscan.x; y = pointdbscan.y; d = sqrt(x.^2+y.^2); dz = diff(d); xplot{1}(1) = x(1); yplot{1}(1) = y(1); j =...
coonecting line closer to next xy coordinates based on distance
x = pointdbscan.x; y = pointdbscan.y; d = sqrt(x.^2+y.^2); dz = diff(d); xplot{1}(1) = x(1); yplot{1}(1) = y(1); j =...
4 years 前 | 0
提问
interrupt a function when it takes too long
Is there a way to interrupt a function that has been taking too long in a for loop and continue to the next iteration? I am call...
4 years 前 | 3 个回答 | 0
3
个回答提问
Plot a curve with its derivatives
I have data with the following information and coordinates (not the actual numbers, just an example): X Y dY/...
5 years 前 | 1 个回答 | 0
1
个回答已回答
How do I create a projectile motion code with inputs that outputs a graph?
Jake, are you entering your angle in degrees or radians? If you want to use degrees, use cosd and sind. You also don't need to ...
How do I create a projectile motion code with inputs that outputs a graph?
Jake, are you entering your angle in degrees or radians? If you want to use degrees, use cosd and sind. You also don't need to ...
5 years 前 | 0
已解决
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
5 years 前
已解决
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
5 years 前
已解决
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
5 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
5 years 前
提问
Find delta 99 of the boundary layer
I am trying to find the location of delta 99 (99 percent of the max velocity) in my velocity profile in a nozzle. I have the cor...
5 years 前 | 1 个回答 | 0
1
个回答已解决
Squares in Squares - Concentric Squares
Given a number, n, create an n x n sized matrix with concentric squares of 1s from the outside in. There should be a gap between...
5 years 前
已回答
Speed up resizing of app designer gui
For a gui, I always manually define the size a location of all my objects. I find it best to use normalized units. If I have sev...
Speed up resizing of app designer gui
For a gui, I always manually define the size a location of all my objects. I find it best to use normalized units. If I have sev...
5 years 前 | 0
已回答
Plotting 3 function using mesh command
The best way to plot using mesh is to create three 2-D matrices with the same sizes. x = 0:.1:1; y = 0:.5:10; [xq,yq] = me...
Plotting 3 function using mesh command
The best way to plot using mesh is to create three 2-D matrices with the same sizes. x = 0:.1:1; y = 0:.5:10; [xq,yq] = me...
5 years 前 | 1
已回答
How to plot multiple plots using the same colour in a figure
You get the color that is used on the first plot and then use the same color for other plots. % random x and y values x = rand...
How to plot multiple plots using the same colour in a figure
You get the color that is used on the first plot and then use the same color for other plots. % random x and y values x = rand...
5 years 前 | 1
提问
How can I refine a portion of my mesh?
I have a 2-D grid that needs to be very fine to capture the physics. The problem with using meshgrid or ndgrid is that it plots ...
5 years 前 | 1 个回答 | 0