Python, C++, MATLAB, Fortran
Spoken Languages:
English
Estadística
1 Pregunta
6 Respuestas
3 Problemas
1342 Soluciones
CLASIFICACIÓN
2.843
of 300.744
REPUTACIÓN
21
CONTRIBUCIONES
1 Pregunta
6 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.0%
VOTOS RECIBIDOS
6
CLASIFICACIÓN
of 21.054
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
63
of 170.597
CONTRIBUCIONES
3 Problemas
1342 Soluciones
PUNTUACIÓN
15.510
NÚMERO DE INSIGNIAS
56
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Zero Out Negative Elements
Write a MATLAB function called zeroNegatives that takes a numeric vector v as input and returns a modified version where all neg...
8 meses hace
Resuelto
Check if a Number is a Palindrome Without Converting to String
Write a function that checks if a given positive integer is a palindrome without converting the number to a string or using stri...
8 meses hace
Resuelto
What kind of triangle?
Write a function named check_triangle that receives three positive integers as input: a, b, and c. These three numbers are inte...
8 meses hace
Pregunta
Is there a better way to enforce singleton behavior in AppDesigner applications?
When you click "Run" from inside the App Designer window, any existing instance of that app will be closed before a new one is c...
más de 5 años hace | 1 respuesta | 3
1
respuestaResuelto
Split array into pieces according to corresponding array
An array x of length n has values 1...m with each value appearing at least once. The values are sorted (n>=m). A second...
casi 6 años hace
Resuelto
Find the distance between runs
Another question inspired by the <http://uk.mathworks.com/matlabcentral/answers/?s_tid=gn_mlc_an answers forum>: A vector of ...
casi 6 años hace
Resuelto
Find the same and successive values in a vector
Find the same and successive values in a vector. For example: Input x = [ 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 ] Start and end...
casi 6 años hace
Resuelto
Combine Data With Gaps
Combine data sets a and b where the datasets have "gaps" or unique points. Example: Input a = [1,0; 2,1; ...
casi 6 años hace
Resuelto
How close to a hole
Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...
casi 6 años hace
Resuelto
How to reverse spdiags ?
The spdiags function extracts all nonzero diagonals from the m-by-n matrix A. So if A=[1 2 3;4 5 6;7 8 9], spdiags(A)=[7 4...
casi 6 años hace
Resuelto
Find indices of diagonal elements
Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...
casi 6 años hace
Resuelto
Find Elements in Range
Based on a question on <http://www.mathworks.com/matlabcentral/answers/ MATLAB Answers>. Find all the elements of a vector wh...
casi 6 años hace
Resuelto
longest sequence of nans
In an array return the length of longest sequence of nans for each column. x = [ 2 3 1 2 5 6; nan nan 5 n...
casi 6 años hace
Grouping into a table
In a situation like this, I usually plan out the table I want to see in advance, and then create variables that I can use to cre...
casi 6 años hace | 1
| aceptada
Resuelto
I've got the power! (Inspired by Project Euler problem 29)
Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...
casi 6 años hace
Resuelto
Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...
casi 6 años hace
Resuelto
Shuffle
Shuffle a vector by breaking it up to segments of |n| elements, and rearranging them in a reversed order. For example, the ve...
casi 6 años hace
Resuelto
Capitilize the first letter of every word in a string
For a given input string, capitalize every letter at the beginning of a word, and transform the rest of the letters to lower-cas...
casi 6 años hace
Need a better way to loop through a Matrix column and then output the row
Something like this for k = 1:size(Nodal_Coordinates,1) % Find the index of the kth row ind = find(Nodal_Coordi...
casi 6 años hace | 1
| aceptada
Is there a -batch option prior to 2019a, i.e., in 2017a
[ EDIT: the command-line below is wrong. See Edric and Steven's comments for the correct way to emulate batch functionality on o...
casi 6 años hace | 0
How to change pixels to a different colour with a greyscale image?
Here's a hacky approach that does the job: I = imread('CTimagem.png'); mask = I < 8000; Ired = I; Igreen = I; Iblue = I...
casi 6 años hace | 0
| aceptada
Resuelto
Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...
casi 6 años hace
Resuelto
Approximate the cosine function
Without using MATLAB trigonometric functions, calculate the cosine of an argument |x| to a precision of |0.0001| *Hint:* You ...
casi 6 años hace
Resuelto
Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...
casi 6 años hace
Resuelto
Simulate one complete step in the Biham–Middleton–Levine traffic model
The <http://en.wikipedia.org/wiki/Biham%E2%80%93Middleton%E2%80%93Levine_traffic_model Biham–Middleton–Levine traffic model> is ...
casi 6 años hace
Resuelto
Data Regularization
Provided is an m-by-n integer data matrix A whose elements are drawn arbitrarily from a set *S* = [1,2,3,...,S] for any large in...
casi 6 años hace
Resuelto
Find the Final State of an Abelian Sandpile
Let us define an <http://nautil.us/issue/23/dominoes/the-amazing-autotuning-sandpile Abelian sand pile> as a matrix that is only...
casi 6 años hace











