photo

Agnish Dutta


自 2019 起处于活动状态

Followers: 0   Following: 0

统计学

All
  • 3 Month Streak
  • Commenter
  • Knowledgeable Level 2
  • First Answer
  • Solver

查看徽章

Feeds

排序方式:

已解决


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

5 years 前

已解决


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

5 years 前

已解决


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

5 years 前

已解决


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

5 years 前

已解决


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

5 years 前

已解决


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

5 years 前

已解决


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

5 years 前

已解决


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

5 years 前

已解决


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

5 years 前

已解决


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

5 years 前

已解决


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

5 years 前

已解决


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

5 years 前

已解决


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

5 years 前

已解决


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

5 years 前

已解决


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

5 years 前

已解决


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

5 years 前

已解决


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

5 years 前

已解决


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

5 years 前

已解决


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

5 years 前

已解决


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

5 years 前

已解决


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

5 years 前

已回答
I have a signal with centre at 0.5Khz, how can i shift the signal such that the maximum component occurs at the center of the frequency axis?
I have assumed that the signal has only 1 peak. In case of multiple peaks, the "find(P == max(P), 1)" command will return an arr...

5 years 前 | 0

| 已接受

已回答
Solving for unknown angles
This seems like an ODE. Here's the documentation detailing how to solve ODE's using MATLAB: https://www.mathworks.com/help/symb...

5 years 前 | 0

已回答
Plotting Multiple Graphs in a 3D form
The dimensions of the 5 different plots must be the same for the following to work. So make sure you pre-process your data accor...

5 years 前 | 0

已回答
2D random walk double for loop
I used the following method to generate the x and y coordinates od 2000 points moving randomly in 2D cartesian space. I was then...

5 years 前 | 0

| 已接受

已回答
Plotting the solution to the Laplace equation
I suggest using the symbolic mathematics toolbox which provides functions for solving, plotting, and manipulating symbolic math ...

5 years 前 | 1

已回答
How to create a line profile from a figure within a script
Consider going through the following MATLAB answers page: https://www.mathworks.com/matlabcentral/answers/389889-how-to-plot-in...

5 years 前 | 0

已回答
3D (Surface) Reconstruction of Stereo Image
Use these instructions as a starting point for what you are trying to accomplish: The following shows the workflow for creati...

5 years 前 | 0

| 已接受

已回答
How can i make GUI pushback button call my App created in app designer?
I recommend using MATLAB appdesigner to create GUIs with interactivity. The first thing to do would be to include the target...

5 years 前 | 0

已回答
How can transfer python result to Matlab matrix
You need to save this array in a format that MATLAB understands. You could use scipy.io to do this. As an example: import nu...

5 years 前 | 0

加载更多