photo

Kiam Heong Kwa


Last seen: 4 mois il y a Actif depuis 2019

Followers: 0   Following: 0

Message

Statistiques

All
MATLAB Answers

2 Questions
0 Réponses

Cody

0 Problèmes
38 Solutions

RANG
36 092
of 301 020

RÉPUTATION
1

CONTRIBUTIONS
2 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
0.0%

VOTES REÇUS
1

RANG
 of 21 135

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
13 013
of 172 370

CONTRIBUTIONS
0 Problèmes
38 Solutions

SCORE
464

NOMBRE DE BADGES
3

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Community Group Solver
  • Commenter
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ un an il y a

A résolu


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

plus de 2 ans il y a

A résolu


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

plus de 2 ans il y a

A résolu


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

plus de 2 ans il y a

A résolu


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

plus de 2 ans il y a

A résolu


Return area of square
Side of square=input=a Area=output=b

plus de 2 ans il y a

Question


Desktop Language Option is Missing
Very good day. Have been trying to reset the Desktop language but failed to see the option being available as mentioned in othe...

plus de 2 ans il y a | 1 réponse | 1

1

réponse

A résolu


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

plus de 2 ans il y a

A résolu


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

presque 3 ans il y a

A résolu


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

presque 3 ans il y a

A résolu


Linear system of equations
Solve the system of equations in three variables.

presque 3 ans il y a

A résolu


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

plus de 3 ans il y a

Question


MATLAB Online does not run script properly
I ran the following script (which I named draft.m) through MATLAB Online: clear; fun = @(x, b) (b-7)*(b+5)*x.^2-2*x+3; brange...

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

1

réponse

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

presque 4 ans il y a

A résolu


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

presque 4 ans il y a

A résolu


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

presque 4 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

presque 4 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 4 ans il y a

A résolu


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

plus de 4 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 4 ans il y a

A résolu


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

environ 6 ans il y a

A résolu


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

environ 6 ans il y a

A résolu


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

environ 6 ans il y a

A résolu


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 ...

environ 6 ans il y a

A résolu


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

environ 6 ans il y a

A résolu


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 ...

environ 6 ans il y a

A résolu


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

environ 6 ans il y a

A résolu


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

environ 6 ans il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

environ 6 ans il y a

A résolu


Inner product of two vectors
Find the inner product of two vectors.

environ 6 ans il y a

Charger plus