문제를 풀었습니다


Non trivial identities - polynomial
Return x as a polynomial of itself.

9년 초과 전

문제를 풀었습니다


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

9년 초과 전

문제를 풀었습니다


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

9년 초과 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

9년 초과 전

문제를 풀었습니다


Narcissistic number ?
Inspired by Problem 2056 created by Ted. In recreational number theory, a narcissistic number is a number that is the sum of ...

9년 초과 전

문제를 풀었습니다


Concatenating strings
* Write a statement that assigns fullName with firstName, a space, then lastName. Ex: If firstName is Alan and lastName is Tu...

9년 초과 전

문제를 풀었습니다


Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

9년 초과 전

문제를 풀었습니다


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

9년 초과 전

문제를 풀었습니다


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

9년 초과 전

답변 있음
What is the command to repeat the program?
Here it is: while 1 x = input('Enter your input: '); %check the input according to your needs %for...

9년 초과 전 | 4

문제를 풀었습니다


Non trivial identities - double negative
Return x after negating it.

9년 초과 전

문제를 풀었습니다


Negative matrix
Change the sign of all elements in given matrix.

9년 초과 전

문제를 풀었습니다


Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

9년 초과 전

문제를 풀었습니다


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

9년 초과 전

문제를 풀었습니다


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

9년 초과 전

문제를 풀었습니다


Non trivial identities - power
Return x by by rising it to a power.

9년 초과 전

문제를 풀었습니다


Non trivial identities - roots
Return x after rooting it.

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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.

9년 초과 전

문제를 풀었습니다


Will there be a new leader?
Simply answer the title.

9년 초과 전

문제를 풀었습니다


05 - Vector Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

답변 있음
Can anyone help me to convert a 2-D array of three variable (0,1,2) to an image?
To have 3d array: img(:,:,1)=var1; img(:,:,2)=var2; img(:,:,3)=var3;

9년 초과 전 | 4

답변 있음
Im trying to print a randomized vector with 20 columns for each row. How do I get to stop after it reaches the final value of the vector?
There is no need to write them each time. Use vectorization of *fprintf* command. rando=randi([0,9],1,65); fprintf('%d '...

9년 초과 전 | 3

답변 있음
How to create a loop with the sum adding up to a given N?
There is a well-known formula by Gauss x= n(n+1)/2;

9년 초과 전 | 4

문제를 풀었습니다


Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?

9년 초과 전

문제를 풀었습니다


07 - Common functions and indexing 2
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Calculate eMean as the mean across the rows of _eMat_. The an...

9년 초과 전

문제를 풀었습니다


Non trivial identities - complexification
Return x by complexifying it.

9년 초과 전

문제를 풀었습니다


Complex number
For complex number c=a+bi, write code that will add a and b together.

9년 초과 전

문제를 풀었습니다


05 - Vector Equations 3
Define the vector _dVec_: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 10) ...

9년 초과 전

더 보기