Community Profile

# Stanislao Pinzón

Last seen: más de 1 año hace Con actividad desde 2019

All

Ver insignias

#### Content Feed

Ver por

Respondida
Filling a region in the complex plane in Matlab
Maybe something like this: f1=@(x,y) (1+x+x.^2-y.^2).^2+(y+2.*x.*y).^2-1; V = fimplicit(f1); hold on axis([-1.5 0.5 -1.5 1.5...

alrededor de 2 años hace | 0

Respondida
how to skip the index of array
Maybe something like this: A = [1,2,1,2,4]; for i=1:length(A) B=1:6; B(A(i))=[]; disp(B); e...

más de 2 años hace | 0

Resuelto

How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

más de 2 años hace

Resuelto

Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

más de 2 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...

más de 2 años hace

Respondida
removing specific values in a cell array
Maybe something like this A = {1:10,1:10}; A{1}(A{1}<3|A{1}>8) = []; A{2}(A{2}<3|A{2}>8) = []; Naturally, it would be tediou...

más de 2 años hace | 1

Resuelto

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 + ...

más de 2 años hace

Resuelto

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...

más de 2 años hace

Resuelto

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

más de 2 años hace

Resuelto

Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

más de 2 años hace

Resuelto

Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

más de 2 años hace

Resuelto

How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...

más de 2 años hace

Resuelto

Juego de posiciones
Crea una función que ordene vectores de tal manera que los primeros números sean negativos ordenados de menor a mayor. Y después...

más de 2 años hace

Resuelto

Squares of odd numbers upto a given range
Find the squares of odd numbers upto a given range. If Given x=6 return y=(1^2,3^2,5^2) y=1,9,25 If Given x=5 retu...

más de 2 años hace

Resuelto

Construyendo matrices parte 2
Construye la siguiente matriz a partir de otros tres vectores/matrices. [ 1 8 15 3 3 3 3 2 9 16 3 3...

más de 2 años hace

Resuelto

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...

más de 2 años hace

Resuelto

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...

más de 2 años hace

Resuelto

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...

más de 2 años hace

Resuelto

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

más de 2 años hace

Resuelto

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 2 años hace

Resuelto

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...

más de 2 años hace

Problema

Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

más de 2 años hace | 1 | 51 solvers

Problema

Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

más de 2 años hace | 1 | 63 solvers

Resuelto

Distance Between Points
Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

más de 2 años hace

Resuelto

Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

más de 2 años hace

Resuelto

4xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

más de 2 años hace

Problema

Distance Between Points
Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

más de 2 años hace | 2 | 35 solvers

Resuelto

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

más de 2 años hace

Resuelto

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

más de 2 años hace

Resuelto

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

más de 2 años hace