Community Profile

photo

Pritom Kumar Saha


Last seen: 10 giorni ago Active since 2021

Statistics

All
  • Commenter
  • Promoter
  • First Answer
  • Community Group Solver
  • Solver

View badges

Content Feed

View by

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

2 mesi ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 mesi ago

Solved


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

2 mesi ago

Solved


Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

6 mesi ago

Solved


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

6 mesi ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

6 mesi ago

Answered
Reading values from xml file
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.

6 mesi ago | 0

Answered
Convert XML file to a MATLAB structure
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.

6 mesi ago | 1

Solved


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

7 mesi ago

Solved


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

7 mesi ago

Solved


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

7 mesi ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

7 mesi ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

7 mesi ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

7 mesi ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

7 mesi ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

7 mesi ago

Solved


Find max
Find the maximum value of a given vector or matrix.

7 mesi ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

7 mesi ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

7 mesi ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

7 mesi ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

7 mesi ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 mesi ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 mesi ago