문제를 풀었습니다


Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
Calculate the sum of a Vector times coefficients expressed as two strings. Example: Normal representation [ a b c ], [ p1 ...

거의 3년 전

문제를 풀었습니다


Use this function for some points
Hit submit if you'd like to earn some points! function y = your_fcn_name(x) y = x^2 - 3; end

거의 3년 전

문제를 풀었습니다


Leonardo primes
Leonardo numbers are defined by following recurrence relation: Leonard prime is Leonardo number which is also prime (see ...

거의 3년 전

문제를 풀었습니다


is the number happy?
test is a given integer number is Happy of not? answer 1 if yes or 0 is no

거의 3년 전

문제를 풀었습니다


Usage of varargout
This Challenge is to demonstrate usage of varargout. Output a cell array using varargout of magic squares of size 1 thru n. ...

거의 3년 전

문제를 풀었습니다


Find supported functions
Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

거의 3년 전

문제를 풀었습니다


Linear system solve
Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf

거의 3년 전

문제를 풀었습니다


Number Puzzle - 118

거의 3년 전

문제를 풀었습니다


Number Puzzles - 020

거의 3년 전

문제를 풀었습니다


Convert row and column subscripts to linear indices
Convert 2D row and column subscripts to linear indices WITHOUT sub2ind Example: row = [1 2 3 1]; col = [2 2 2 3]; sz = [3 3]...

거의 3년 전

문제를 풀었습니다


Surface Fit z(x,y)
Given three vectors x,y,z. Find four coefficients c = [cxx cxy cyy c00], such that z = cxx*x.^2+cxy*x.*y+cyy*y.^2+c00. For e...

거의 3년 전

문제를 풀었습니다


01-01: 正弦波の生成
「MATLABで学ぶ実践画像・音声処理入門」のプログラム1-1 と同じ正弦波を、サンプリング周波数 10kHz で生成し、返却する関数を作成せよ。

거의 3년 전

문제를 풀었습니다


Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

거의 3년 전

문제를 풀었습니다


How many ways?
Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

거의 3년 전

문제를 풀었습니다


Tribonacci Sequence
Generate the tribonacci sequence upto n

거의 3년 전

문제를 풀었습니다


Repeat string n times
You will be provided a string (s = 'string1_') a starting point (num1 = 6) (always bigger than or equal to zero) and n (n = 3)...

거의 3년 전

문제를 풀었습니다


Invert a 3D rotation matrix
Given a 3D rotation matrix, belonging to the matrix group SO(3), compute its inverse without using the functions inv() or pinv()...

거의 3년 전

문제를 풀었습니다


Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

거의 3년 전

문제를 풀었습니다


Just another sum (JAS)
*Task:* Write a function that takes a vector X and returns the alternating sum of X: X(1)-X(2)+X(3)-X(4)+... *Example...

거의 3년 전

문제를 풀었습니다


Basic Monte Carlo Simulation
Input is a matrix including service time and probability of service time. Another input is a random number. Function should tran...

거의 3년 전

문제를 풀었습니다


Polybius Square
Given a string, calculate the coordinates. Input will be always in lowercase. If string is a sentence then use 0 (zero) to indic...

거의 3년 전

문제를 풀었습니다


findPositiveEvenNumbers
Write a MATLAB function findPositiveEvenNumbers that takes an array of integers as input and returns a new array containing only...

거의 3년 전

문제를 풀었습니다


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

거의 3년 전

문제를 풀었습니다


Sum of Squares
Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.

거의 3년 전

문제를 풀었습니다


Function(3)
Use this function to earn some points on your cody journey! function y = your_fcn_name(x) y = x^2 - 12; end

거의 3년 전

문제를 풀었습니다


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

거의 3년 전

문제를 풀었습니다


Easy Function(2)
Hit the submit button for some cody points! function y = your_fcn_name(x) y = x^2 + 20; end

거의 3년 전

문제를 풀었습니다


Find collatz series next number
For given x, if x is even, output is (x/2) if x is odd, output is (3x+1)

거의 3년 전

문제를 풀었습니다


How many offices does MathWorks have in the UK
Please write a function that returns the number of offices MathWorks has in the UK.

거의 3년 전

문제를 풀었습니다


Google Drive: MATLAB mat file download
Matlab 'mat' files are notoriously hard to email and download as they are binary files. To make a 'mat' file downloadable from ...

거의 3년 전

더 보기