Community Profile

photo

Majid Farzaneh


Media Engineering Department, I.R.I.B. University

Last seen: 2 mesi fa Attivo dal 2018

Followers: 0   Following: 0

Contatto

Master of Science.

Statistiche

All
  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • Introduction to MATLAB Master
  • Likeable
  • Personal Best Downloads Level 4
  • 5-Star Galaxy Level 5
  • Famous
  • First Review
  • First Submission
  • Community Group Solver
  • Quiz Master
  • Draw Letters

Visualizza badge

Feeds

Visto da

Risolto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

quasi 2 anni fa

Risolto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

oltre 2 anni fa

Risolto


Find max
Find the maximum value of a given vector or matrix.

oltre 2 anni fa

Risolto


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

oltre 4 anni fa

Risolto


Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

oltre 4 anni fa

Risolto


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

quasi 5 anni fa

Risolto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

quasi 5 anni fa

Risolto


5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

oltre 5 anni fa

Risolto


7 segment LED display
Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: <http://...

oltre 5 anni fa

Risolto


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

oltre 5 anni fa

Risolto


modulus of a number
find the modulus of a given number

oltre 5 anni fa

Risolto


Create a vector
Create a vector from 0 to n by intervals of 2.

oltre 5 anni fa

Risolto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

oltre 5 anni fa

Risolto


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

oltre 5 anni fa

Risolto


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

oltre 5 anni fa

Risolto


Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

oltre 5 anni fa

Risolto


Community Problem 500!
In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do any...

oltre 5 anni fa

Risolto


Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

oltre 5 anni fa

Risolto


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

oltre 5 anni fa

Risolto


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

oltre 5 anni fa

Risolto


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

oltre 5 anni fa

Risolto


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

oltre 5 anni fa

Risolto


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

oltre 5 anni fa

Risolto


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

oltre 5 anni fa

Risolto


Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

oltre 5 anni fa

Risolto


Area of square
Find the area of a square whose diagonal length is given as x.

oltre 5 anni fa

Risolto


Vectorizing, too easy or too hard?
Please insert a . before any ^, * or / in the string. That's it!!

oltre 5 anni fa

Risolto


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

oltre 5 anni fa

Risolto


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

oltre 5 anni fa

Risolto


raise 1/3
Raise a number to 1/3 power.

oltre 5 anni fa

Carica altro