Community Profile

photo

Shubham Miglani

MathWorks

Last seen: oltre 3 anni fa Attivo dal 2020

Statistiche

  • Project Euler I
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Commenter
  • Promoter
  • Community Group Solver
  • Solver

Visualizza badge

Content Feed

Visto da

Risolto


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

oltre 3 anni fa

Risolto


チェッカーボードを作ろう
整数 n が与えられた時、以下の様な1と0を含むn×nの行列を作成しましょう。a(1,1) は1にする必要があります。 例: 入力 n = 5 出力 a が [1 0 1 0 1 0 1 0 1 0 ...

oltre 3 anni fa

Risolto


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

oltre 3 anni fa

Risolto


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

oltre 3 anni fa

Risolto


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

oltre 3 anni fa

Risolto


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

oltre 3 anni fa

Risolto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

oltre 3 anni fa

Risolto


calculate Compound Intrest
Calculate Compound Intrest for given data

oltre 3 anni fa

Risolto


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

oltre 3 anni fa

Risolto


find whether it is prime or not
For a given number find if its prime

oltre 3 anni fa

Risolto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

oltre 3 anni fa

Risolto


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

oltre 3 anni fa

Risolto


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

oltre 3 anni fa

Risolto


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

oltre 3 anni fa

Risolto


Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

oltre 3 anni fa

Risolto


Calculate volume of box
Calculate the volume of box,hiven its sides

oltre 3 anni fa

Risolto


Box!
Given a box, find the volume of the cube. With each side = a.

oltre 3 anni fa

Risolto


特定の値がベクトル内に含まれているかを確認するコードを書こう
ベクトル b にあるスカラ値 a が含まれていれば出力として 1 を返し、含まれていなければ 0 を返すような関数を作成しましょう。 例: a = 3; b = [1,2,4]; スカラ値 3 はベクトル b に含まれていない...

oltre 3 anni fa

Risolto


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

oltre 3 anni fa

Risolto


Calculate value of capacitor
Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

oltre 3 anni fa

Risolto


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

oltre 3 anni fa

Risolto


Concatenate matrix into 4 quadrants for given number of iteration
If given a matrix and number, output should be its concatenation like wavelet for given number of iterations. Example a ...

oltre 3 anni fa

Risolto


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

oltre 3 anni fa

Risolto


Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

oltre 3 anni fa

Risolto


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

oltre 3 anni fa

Risolto


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

oltre 3 anni fa

Risolto


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

oltre 3 anni fa

Risolto


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

oltre 3 anni fa

Carica altro