MATLAB
Spoken Languages:
English, French
Pronouns:
He/him
Statistiques
87 Fichiers
Cody DiscussionsRANG
8 832
of 301 506
RÉPUTATION
5
CONTRIBUTIONS
21 Questions
17 Réponses
ACCEPTATION DE VOS RÉPONSES
76.19%
VOTES REÇUS
5
RANG
1 160 of 21 306
RÉPUTATION
1 646
CLASSEMENT MOYEN
5.00
CONTRIBUTIONS
87 Fichiers
TÉLÉCHARGEMENTS
133
ALL TIME TÉLÉCHARGEMENTS
10628
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
9 Points forts
NOMBRE MOYEN DE LIKES
3
Feeds
A résolu
Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...
5 mois il y a
A résolu
find powers of two
find the unique, non-repeating, powers of 2 that sum to a given non-zero integer, n example: n = 23 result = [1 2 4 16] ...
6 mois il y a
A résolu
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
8 mois il y a
A résolu
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
8 mois il y a
A résolu
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...
8 mois il y a
A résolu
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
8 mois il y a
A résolu
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...
8 mois il y a
A résolu
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]
8 mois il y a
A résolu
Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.
8 mois il y a
A résolu
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...
8 mois il y a
A résolu
Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.
8 mois il y a
A résolu
03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)
8 mois il y a
A résolu
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
8 mois il y a
A résolu
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>...
8 mois il y a
A résolu
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....
8 mois il y a
A résolu
Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2
8 mois il y a
A résolu
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
8 mois il y a
A résolu
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
8 mois il y a
A résolu
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...
8 mois il y a
A résolu
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
8 mois il y a
A résolu
02 - Vector Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 1...
8 mois il y a
A résolu
04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...
8 mois il y a
A résolu
03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...
8 mois il y a
A résolu
03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...
8 mois il y a
A résolu
02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...
8 mois il y a
A résolu
Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...
8 mois il y a
A résolu
Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...
8 mois il y a











