
Programming Languages:
MATLAB
Spoken Languages:
English, French
Pronouns:
He/him
MATLAB
Spoken Languages:
English, French
Pronouns:
He/him
Feeds
已提交
isinpolygon
Function to check if a vertex is located inside or outside a given polygon. Overloaded for arrays of points.
8 days 前 | 1 次下载 |

已提交
isinconvexset (2D, 3D)
Function to verify if one given point is in or out a given convex 2D (polygon) or 3D (polyhedron) convex set, excluding its boun...
10 days 前 | 6 次下载 |

已提交
isPointin3Dtriangle
Function to check if a point P belongs to a given ABC triangle in 3D, boundary included. Overloaded for arrays of points.
11 days 前 | 0 次下载 |

已提交
Line to line distance (3D / 2D) [FAST]
A function to compute the -minimum- distance between two lines in 3D space
15 days 前 | 1 次下载 |

已提交
Point to plane distance [FAST]
Distance from a point to a plane. Overloaded for multiple points and planes. Coordinates of projected point(s) also provided.
18 days 前 | 4 次下载 |

已提交
Point to line distance [FAST]
Distance from a point to a 3D/2D line. Overloaded for multiple points and lines. Coordinates of projected point(s) also provided...
18 days 前 | 5 次下载 |

已解决
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
1 month 前
已解决
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
1 month 前
已解决
How many days in a month?
Return the number of days in a given month in 2017. If the input is not a valid month number, return -1. Examples: Input...
1 month 前
已解决
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
1 month 前
已解决
Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to co...
2 months 前
已解决
Prime numbers between a , b.
Find all prime number between a & b (including a and b). example: a=100 b=120 y= [101 103 107 109 113]
2 months 前
已解决
Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.
2 months 前
已解决
Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...
2 months 前
已解决
Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.
2 months 前
已解决
03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)
2 months 前
已解决
Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G
2 months 前
已解决
04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...
2 months 前
已解决
04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....
2 months 前
已解决
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
2 months 前
已解决
Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2
2 months 前
已解决
Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...
2 months 前