Community Profile

Taylor Gates

Active since 2018

Content Feed

View by

Question

Help with Monte Carlo sim?
Im messing around with the montecarlo function for integration and ran into a problem. The y bounds are between x^2 and x^3 and...

4 years ago | 1 answer | 0

1

Question

Help with extracting certain lines from a text file?
I'm analyzing a lot of data and needing to extract and certain lines and put them into a new file. The lines I am trying to ext...

4 years ago | 1 answer | 0

1

Question

Using if statement in analyzing/editing a txt file
I am trying to develop a code to analyze a text file in MATLAB. The text file was an stl file for 3D printing. It repeats 7 lin...

4 years ago | 0 answers | 0

0

Question

Help with using scanf and editing a txt file?
I'm trying to modify an stl file to eventually 3D print. I am trying to take out the bottom half of the object by using matlab....

4 years ago | 1 answer | 0

1

Question

Help with conidtional loops?
Everything in the code works like I want it to except I need the code to end if a guess is higher than 10. it will display 'dum...

4 years ago | 2 answers | 0

2

Question

How to use words in a matrix?
I'm trying to create a matrix with products on column 1 and price on column 2. When I try to use words in column one it gives m...

4 years ago | 1 answer | 0

1

Question

Help with matrix that stores info/interactive?
I'm trying to create a matrix/code for the following stipulations. First, create a matrix that stores the name of products an...

4 years ago | 1 answer | 0

1

Question

How to use the break in a loop?
Im trying to create a code that modifies a game. This game is you have 3 tries to guess a number 0-10. If you fail 10 times it...

4 years ago | 2 answers | 0

2

Question

Help with using SURF to analyze an image?
So I am trying to analyze and image using "surf" to make a 3D plot whose z value is the gray scale, where darker image will have...

4 years ago | 3 answers | 0

3

Question

Help plotting with simple linespace and surf?
I'm trying to generate xy grid, and plot the 3D surface, z=sin(3*x).^2.*cos(4*y)^3, where x and y ranges from -pi to pi. I'...

4 years ago | 1 answer | 0

1

Question

Help with inserting box into photo
I have a test image that I am trying to put a 30x30 box in the center of. Here is the code I have so far. I have a column 30 p...

4 years ago | 0 answers | 0

0

Question

Help with plotting multiple angles/velocties
I am trying to generate multiple lines on a graph corresponding to velocities and launch angles. heres my basic code but how I d...

4 years ago | 1 answer | 0

1

Question

Why do I keep getting matrix dimensions must agree?
I keep getting this error and I can't figure out why. Here's my code g= 9.81 v0=[5,10,15,20]; theta= [0, .17453293, ....

4 years ago | 1 answer | 0