Community Profile

photo

Catalytic Kys


Last seen: environ 4 ans il y a Actif depuis 2019

Statistiques

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

Question


Does anybody know how to write a function which returns the coordinates of a convex hull of a list of certain points?
Does anybody know how to write a function which returns the coordinates of a convex hull of a list of certain points? I can't f...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


How do I replace the last value in the output string to 'and *value*.' instead of ', *value*,'?
How do I replace the last value in the output string to 'and *value*.' instead of ', *value*,'? Any help is greatly appreciated...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Can someone help me get going with writing code for this? I don't get where to start and how to get this to code..
NEXT PAGE: The function convhull nor convhulln are sufficient, since I have to make this in my own code and output th...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Why do the values not get added into the array such as [2,3,5,7], but instead they get summed up?
clear; close all clc; N = 10; list=2:N; values = [2]; list(find(mod(list,2)==0))=[]; tester = 3; while ~isempty(...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Why is this while loop not working? Prime number from list
clear; close all clc; N = 10; list=2:N; values = [2]; list(find(mod(list,2)==0))=[]; tester = 3; while list ~= [...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


I want to check the list [2:N] for values that are devisible by 2 and remove those from the list, help plz
clear; close all clc; N = 10 list = [2:N] x = 2 if (list(list(x) ~= 2) == 'false' list(x) = [] x = x + 1 end ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

A répondu
Prime Numbers From List Function
Still looking for an answer

plus de 4 ans il y a | 0

Question


Cloud of points Convex Hull
How do I get a function "getConvexHull(x,y)" that returns the indices of the points that lay on the convex hull of the cloud, ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Prime Numbers From List Function
I have to make a function that gives all the prime numbers from a list [2:N] The following steps is what I came up with: 1. ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Could someone please tell me which value of omega you get for steps = 100, 500, 1000, 5000, 10000? My laptop can't handle the processing...
clear; close all; clc; format long caught = false; omega = 0; while ~caught omega = omega + 0.00000...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


Someone please optimize this code or write is a little different, so that it doesn't take that much time to run. I really need it, I'd appreciate it alot!
close all format long caught = false; w = 1.61803; while ~caught w = w + 0.0000010000000000; N = 100000000; x = zeros(N, ...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


How do I compare 'list' with 'out' to check where both values of a row for 'out' are equal to both values of a row for 'list'?
clear; close all; clc; list = [ 50 74; 6 34; 147 162; 120 127; 98 127; 120 136; 53 68; 145 166; 95 106; 242 243; ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How do I get the row numbers of the 'list' where the values are equal to the values of the array 'days'
%clear; %close all; %clc; list = [ 50 74; 6 34; 147 162; 120 127; 98 127; 120 136; 53 68; 145 166; 95 106; 242 243;...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Could anyone help me with a code to check if the time intervals intersect
% This script should select the optimal time intervals, so that as many time intervals fit without intersecting each other. c...

plus de 4 ans il y a | 1 réponse | 0

1

réponse