Question

I really need help with fprintf'ing a string, having it alternate with commas and parentheses.

"I really need help with fprintf'ing a string, having it alternate with commas and parentheses." How do I write a function to f...

5 mois ago | 1 answer | 0

Question

Why does the coordPoints not keep the negative values from the other two variables?

Why do the negative values disappear in coordPoints? The code: coordPoints = [convexHull,coordsConvex].'; convexHull: 16 ...

6 mois ago | 0 answers | 0

Question

Why is the out-printed string displaying the wrong values?

The code of the fprintf-part: coordPoints = [convexHull,coordsConvex].'; fprintf('convex hull points:'); fprintf(' %d (%d %d)...

6 mois ago | 1 answer | 0

Question

Does anyone know why it is also taking point 9 as convex hull point eventhough it shouldn't?

Does anyone know why it is also taking point 9 as convex hull point eventhough it shouldn't? Image representing the cloud of po...

6 mois ago | 1 answer | 0

Question

Is anyone able to remove the display part of this function?

Can someone please please please remove the display part of this function? It would be appreciated so so much! clear; close a...

6 mois ago | 1 answer | 0

Question

Does anyone know why this script isnt working?

clear; close all; clc; xy = [ 3 12 10 8 11 14 13 16 9 19 1 15 2 4 6 1 11 3 16 5 14 17 19 18 ] yeet = ...

6 mois ago | 1 answer | 0

Question

2D Convex Hull: I can't think of a 'criteria' to filter out the 'wrong' points, please help!

I can't think of a 'criteria' to filter out the 'wrong' points. I've been stuck for 5+ hours now with this assignment, but...

6 mois ago | 5 answers | 0

Answered

2D Convex Hull: I can't think of a 'criteria' to filter out the 'wrong' points, please help!

This is what I've come up with so far: clear; close all; clc; list = [ 3 12 % 1 10 8 % 2 11 14 % 3 13 16 % 4 9 19 % 5...

2D Convex Hull: I can't think of a 'criteria' to filter out the 'wrong' points, please help!

This is what I've come up with so far: clear; close all; clc; list = [ 3 12 % 1 10 8 % 2 11 14 % 3 13 16 % 4 9 19 % 5...

6 mois ago | 0

Question

I'm clueless how to put this into code.. Could someone please give me a headstart, I am willing to pay for it that's how bad I need this, I know that is not the purpose of this forum, but it's urgent..

I'm clueless how to put this into code.. Could someone please give me a headstart, I am willing to pay for it that's how bad I n...

6 mois ago | 0 answers | 0

Question

Could someone please optimize this code?

Could someone please optimize this code? My code: v0 = 10 gamma = 0.1 for k=1:101 theta = 0.8444 * pi/4 + (k-51)*0.0001...

7 mois ago | 1 answer | 0

Question

How do I properly nicely comment this code?

My code: v0 = 10 gamma = 0.1 for k=1:101 theta = 0.8444 * pi/4 + (k-51)*0.0001; dt = 0.0000001; x = 0; y ...

7 mois ago | 0 answers | 0

Question

How do I nicely represent the final answer?

Problem: On a flat field a canon ball with mass m is fired under an angle θ with an initial velocity of v0. Example 1.8 showed t...

7 mois ago | 0 answers | 0

Question

How do I nicely present the final result of my code, so that it nicely fits the problem.

Problem: On a flat field a canon ball with mass m is fired under an angle θ with an initial velocity of v0. Example 1.8 showed t...

7 mois ago | 0 answers | 0