Navan Ruthramoorthy
MathWorks
Followers: 0 Following: 0
Estadística
CLASIFICACIÓN
4.565
of 295.569
REPUTACIÓN
10
CONTRIBUCIONES
0 Preguntas
5 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
1
CLASIFICACIÓN
1.561 of 20.247
REPUTACIÓN
1.195
EVALUACIÓN MEDIA
4.10
CONTRIBUCIONES
2 Archivos
DESCARGAS
3
ALL TIME DESCARGAS
11126
CLASIFICACIÓN
303
of 154.105
CONTRIBUCIONES
0 Problemas
546 Soluciones
PUNTUACIÓN
5.021
NÚMERO DE INSIGNIAS
3
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
alrededor de 4 años hace
How can I tell MATLAB that a testbench is in a subdirectory?
For double2single conversion, currently the test bench file needs to be present in the same directory as the design file. Please...
más de 5 años hace | 1
Resuelto
surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...
casi 7 años hace
Resuelto
Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...
casi 7 años hace
Resuelto
5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...
casi 7 años hace
Resuelto
Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...
casi 7 años hace
Resuelto
Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...
casi 7 años hace
Resuelto
"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...
casi 7 años hace
Resuelto
5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...
alrededor de 7 años hace
Resuelto
Number of Even Elements in Fibonacci Sequence
Find how many even fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...
alrededor de 7 años hace
Resuelto
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
alrededor de 7 años hace
Resuelto
sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.
más de 7 años hace
Resuelto
Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...
más de 7 años hace
Resuelto
Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...
más de 7 años hace
Resuelto
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
más de 7 años hace
Resuelto
03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...
más de 7 años hace
Resuelto
give nth decimal place of pi
max 15th place after the decimal point is ok for now
más de 7 años hace
Resuelto
01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>
más de 7 años hace
Resuelto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
más de 7 años hace
Resuelto
Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords
más de 7 años hace
Resuelto
Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...
casi 8 años hace
Resuelto
Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...
casi 8 años 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...
casi 8 años hace
Resuelto
Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...
alrededor de 8 años hace
Resuelto
intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...
alrededor de 8 años 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 8 años hace
Resuelto
Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...
alrededor de 8 años hace