Nabil Chowdhury
2020년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...
1년 초과 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
1년 초과 전
문제를 풀었습니다
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
2년 초과 전
문제를 풀었습니다
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
3년 초과 전
문제를 풀었습니다
Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...
3년 초과 전
문제를 풀었습니다
Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
3년 초과 전
문제를 풀었습니다
Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].
3년 초과 전
문제를 풀었습니다
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
3년 초과 전
문제를 풀었습니다
Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...
3년 초과 전
문제를 풀었습니다
02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>
3년 초과 전
문제를 풀었습니다
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
3년 초과 전
문제를 풀었습니다
Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.
3년 초과 전
문제를 풀었습니다
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
3년 초과 전
문제를 풀었습니다
Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];
3년 초과 전
문제를 풀었습니다
Check if equal
Return true if all the elements of an nD array are equal, false otherwise.
3년 초과 전
문제를 풀었습니다
Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...
3년 초과 전
문제를 풀었습니다
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
3년 초과 전
문제를 풀었습니다
Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...
3년 초과 전