Community Profile

photo

pankhuri kasliwal


61 total contributions since 2019

pankhuri kasliwal's Badges

  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
Error using load Unable to read file No such file or directory.
Check if your file is in the current folder dir your_file_name.mat Sometimes the path problem can happen, in that case use thi...

28 days ago | 0

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

28 days ago

Solved


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

28 days ago

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

28 days ago

Solved


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

28 days ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

28 days ago

Solved


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

28 days ago

Answered
handling arrays of strings
Signals= cellstr('Signals'); Signals = [Signals, 'SignalName1']; Signals = [Signals, 'SignalName2']; This way it won't merge ...

28 days ago | 0

Answered
How to i extract point clouds from a .mat file?
Hi, Could you please provide the relevant data files, if not then you may try the following links. All these are related to e...

28 days ago | 0

Solved


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

1 month ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

1 month ago

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

1 month ago

Solved


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

1 month ago

Answered
Display Complete output in Command Window
try this fmt = [repmat('%4d ', 1, size(A,2)-1), '%4d\n']; fprintf(fmt, A.');

1 month ago | 0

Answered
Patch extraction from an image
if you want a patch of (size, size) : % Get the size of the image [rows, columns, numberOfColorChannels] = size(yourImage); %...

1 month ago | 0

| accepted

Answered
Camera Calibration with Two Cameras.
Hi, try first using the detectCheckerboardPoints from matlab for each set of images (check the matlab manual) and then when you...

1 month ago | 0

Answered
What extension do I use to save my MATLAB file on ATOMS script editor?
you can use emacs and set it to matlab mode, or you can use the matlab online live script editor. https://www.mathworks.com/pro...

1 month ago | 0

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

1 month ago

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

1 month ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

1 month ago

Solved


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

1 month ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

1 month ago

Solved


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

1 month ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

1 month ago

Solved


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

1 month ago

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

1 month ago

Solved


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

1 month ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Load more