Community Profile

photo

Dyuman Joshi


Last seen: 3일 전
707 2018 이후 총 참여 횟수

Mechanical Engineering, IIT Guwahati

담당자

Dyuman Joshi's 배지

  • Knowledgeable Level 1
  • CUP Challenge Master
  • First Answer
  • Scholar
  • Introduction to MATLAB Master
  • Community Group Solver
  • Draw Letters
  • Speed Demon
  • Creator
  • Commenter
  • Promoter
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


対称で、n*2n のサイズの行列を作成しましょう
サイズが n*2n の "mirror" 行列(対称行列)を作成しましょう。 例: n=2 の場合、以下のような出力を返します。 m = [ 1 2 2 1 1 2 2 1 ] n = 3 の場合、以下のよう...

5일 전

답변 있음
How to remodify matrix
You can use following commands. Let the 6x4 matrix be 'xyz'. file1 = xyz[1,:;4,:] file2 = xyz[2,:;5,:] file3 = xyz[3,:;6,:]

약 1달 전 | 1

| 수락됨

답변 있음
Explicit solution could not be found. using solve command
Instead of using '=' operator in the solve command, use '==' operator. Also, it would be better to include the whole first ter...

약 1달 전 | 0

답변 있음
How can delete specific values from below matrix?
To delete elements(columns here) from a matrix(distance) that don't meet a condition (distance>=50), you can do this distance(d...

약 1달 전 | 0

해결됨


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

약 1달 전

해결됨


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

약 1달 전

해결됨


Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

약 1달 전

해결됨


check whether a number is a pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

약 1달 전

해결됨


An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the ...

약 1달 전

해결됨


generate nth pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

약 1달 전

해결됨


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

약 1달 전

해결됨


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

약 1달 전

해결됨


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

약 1달 전

답변 있음
How do you crete a function file?
Write the code, for e.g. function y=plot(A) x=0:pi/A:2*pi; plot(x, sin(x)) hold on plot(x, sin(2*x)) hold off end Call t...

약 1달 전 | 0

| 수락됨

답변 있음
Not enough input arguments?
Make sure that your file is saved with the same name as your function if there's only one function. Also, you can try this in t...

약 1달 전 | 0

답변 있음
how to calculate the partial derivatives for a given function of two variable ?
Hello, You can use diff function operator to obtain partial derivatives as follows: 1- Define a function using syms function. (...

약 1달 전 | 1

답변 있음
User-Defined function to add polynomials
Can you state what problem you are trying to solve?

약 1달 전 | 0

해결됨


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

약 1달 전

해결됨


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

약 1달 전

해결됨


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

약 1달 전

해결됨


Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...

약 1달 전

해결됨


Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

약 1달 전

해결됨


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

약 1달 전

해결됨


04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....

약 1달 전

해결됨


03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

약 1달 전

해결됨


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

약 1달 전

해결됨


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

약 1달 전

해결됨


04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...

약 1달 전

해결됨


02 - Vector Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 1...

약 1달 전

해결됨


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

약 1달 전

Load more