
MATLAB
Spoken Languages:
English, French
Estadística
19 Preguntas
16 Respuestas
84 Archivos
Cody10 Problemas
160 Soluciones
CLASIFICACIÓN
8.578
of 297.560
REPUTACIÓN
5
CONTRIBUCIONES
19 Preguntas
16 Respuestas
ACEPTACIÓN DE RESPUESTAS
73.68%
VOTOS RECIBIDOS
5
CLASIFICACIÓN
1.271 of 20.456
REPUTACIÓN
1.485
EVALUACIÓN MEDIA
5.00
CONTRIBUCIONES
84 Archivos
DESCARGAS
173
ALL TIME DESCARGAS
9901
CLASIFICACIÓN
899
of 159.148
CONTRIBUCIONES
10 Problemas
160 Soluciones
PUNTUACIÓN
2.354
NÚMERO DE INSIGNIAS
15
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
17 días hace
Resuelto
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 =...
17 días hace
Resuelto
Construct an index vector from two input vectors in vectorized fashion
Create an index vector defined by two input vectors, one defining the beginnings of one or more index ranges, and the other defi...
alrededor de 1 año hace
Resuelto
Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...
alrededor de 1 año hace
Resuelto
"Low : High - Low : High - Turn around " -- Create a subindices vector
Let two vectors *lo* and *hi* be given. The job is to create a index vector like so idx = [lo(1):hi(1) lo(2):hi(2) ...]...
alrededor de 1 año hace
Resuelto
Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
alrededor de 1 año hace
Resuelto
Sum My Indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...
alrededor de 1 año hace
Resuelto
Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...
alrededor de 1 año hace
Resuelto
First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...
alrededor de 1 año hace
Resuelto
Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...
alrededor de 1 año hace
Resuelto
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
alrededor de 1 año hace
Resuelto
Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...
alrededor de 1 año hace
Resuelto
generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...
alrededor de 2 años hace
Resuelto
Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
alrededor de 2 años hace
Resuelto
Build edges list
Input T is a triangulation connectivity indices list (triplet list of indices -positive integers-, each index refering to a vert...
más de 2 años hace
Resuelto
List every vertices neighbor indices
Input T is a <https://fr.mathworks.com/help/matlab/ref/triangulation.html triangulation>. The purpose of this function is to ...
más de 2 años hace
Resuelto
Find a common edge
First input is T, a triplet list of indices. Second input is e = [e1 e2], a row vector, couple of indices (positive distinct int...
más de 2 años hace
Resuelto
Remove duplicated triangles
Input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a correspondi...
más de 2 años hace
Resuelto
Find neighbor triangle indices
First input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a corre...
más de 2 años hace
Resuelto
Find edges from a vertex
First input is T, a triplet list of indices. Second input is i, a single index (positive integer). The goal of this function is ...
más de 2 años hace
Resuelto
Spherical radius given four points
Determine the radius of a sphere provided four non-coplanar points on the surface of the sphere. pts = [x1 y1 z1; x...
más de 2 años hace
Resuelto
Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...
más de 2 años hace
Resuelto
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...
más de 2 años hace
Resuelto
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
más de 2 años hace
Resuelto
Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)
más de 2 años hace
Resuelto
Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?
más de 2 años hace
Resuelto
Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?
más de 2 años hace
Resuelto
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
más de 2 años hace
Resuelto
Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?
más de 2 años hace