![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9474691_1556567881943_DEF.jpg)
pankhuri kasliwal
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
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...
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...
5 years 前 | 0
已解决
Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable
5 years 前
已解决
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
5 years 前
已解决
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
5 years 前
已解决
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;
5 years 前
已回答
handling arrays of strings
Signals= cellstr('Signals'); Signals = [Signals, 'SignalName1']; Signals = [Signals, 'SignalName2']; This way it won't merge ...
handling arrays of strings
Signals= cellstr('Signals'); Signals = [Signals, 'SignalName1']; Signals = [Signals, 'SignalName2']; This way it won't merge ...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已解决
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 前
已解决
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...
5 years 前
已解决
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...
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 前
已回答
Display Complete output in Command Window
try this fmt = [repmat('%4d ', 1, size(A,2)-1), '%4d\n']; fprintf(fmt, A.');
Display Complete output in Command Window
try this fmt = [repmat('%4d ', 1, size(A,2)-1), '%4d\n']; fprintf(fmt, A.');
5 years 前 | 0
已回答
Patch extraction from an image
if you want a patch of (size, size) : % Get the size of the image [rows, columns, numberOfColorChannels] = size(yourImage); %...
Patch extraction from an image
if you want a patch of (size, size) : % Get the size of the image [rows, columns, numberOfColorChannels] = size(yourImage); %...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已解决
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...
5 years 前
已解决
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...
5 years 前
已解决
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
5 years 前
已解决
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...
5 years 前
已解决
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...
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 前
已解决
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...
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 前
已解决
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...
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 前
已解决
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...
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 前
已解决
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 前