Suryaansh Mata
Statistiques
RANG
20 628
of 288 913
RÉPUTATION
2
CONTRIBUTIONS
0 Questions
10 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 19 495
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Content Feed
change axis in image
While making a plot using the plot command on MATLAB, we supply two arguments to the function plot(x,y). The labels displayed on...
presque 5 ans il y a | 0
Placing the element to the specific area if the condition is satisfied.
Define the area of the rectangle using the two parameters 'x' and 'y'. Now define the range for x and y for the regions E and C....
presque 5 ans il y a | 0
How to remove rows which match some conditions in scv file?
After importing the table into MATLAB language as an array of type double follow these steps -: 1) Run a loop on each row of th...
presque 5 ans il y a | 0
Cpp to Mex conversion
You can use the inbuilt MEX functionality to make use of the source code in C/C++ in MATLAB. Follow the step-by-step detailed in...
presque 5 ans il y a | 0
How to change report locale
One can change the language or the Report Locale directly in Java from the MATLAB command line. The following example sets the l...
presque 5 ans il y a | 0
How to write strings and numbers to a text file
To write the data onto a file in MATLAB save the data as a string (concatenate using the 'strcat' function) and use the 'fprintf...
presque 5 ans il y a | 0
cell containing strings outputs only dots
The command 'sprintf' just changes the display formatting of the strings. Rather use str2double and str2num inside 2 loops. Run ...
presque 5 ans il y a | 0
How to transform or use R code in Matlab
TLDR: No, there is not inbuilt functionality to convert R code to MATLAB code No, MATLAB and R are essentially two different pr...
presque 5 ans il y a | 0
Convert an R script to Matlab
TLDR: No, there is not inbuilt functionality to convert R code to MATLAB code No, MATLAB and R are essentially two different pr...
presque 5 ans il y a | 0
How to fix the errors Arise from moving .m files and functions in folders?
TLDR: Any folder/directory can be added to MATLAB's path using the 'addpath' command. MATLAB can access functions in the follow...
presque 5 ans il y a | 0
A résolu
Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...
presque 5 ans il y a
A résolu
De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...
presque 5 ans il y a
A résolu
The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
presque 5 ans il y a
A résolu
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
presque 5 ans il y a
A résolu
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 + ...
presque 5 ans il y a
A résolu
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
presque 5 ans il y a
A résolu
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
presque 5 ans il y a
A résolu
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...
presque 5 ans il y a
A résolu
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
presque 5 ans il y a