Community Profile

# ILDEBERTO DE LOS SANTOS RUIZ

### Tecnológico Nacional de México

Last seen: circa 2 mesi fa Attivo dal 2019

Profesor en el TecNM, adscrito al Instituto Tecnológico de Tuxtla Gutiérrez.

All

#### Content Feed

Visto da

Risolto

Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

4 mesi fa

Risolto

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

4 mesi fa

Risolto

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

7 mesi fa

Risolto

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

7 mesi fa

Risolto

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

7 mesi fa

Risolto

Find max
Find the maximum value of a given vector or matrix.

7 mesi fa

Risolto

Inner product of two vectors
Find the inner product of two vectors.

7 mesi fa

Risolto

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

7 mesi fa

Inviato

inequalityplot
Plot inequalities in 2-D space

Canale

NetworkTwo
Digital twin of the Hydroinformatics Laboratory TecNM · ITTG

11 mesi fa

Canale

NetworkOne
Digital twin of the Hydroinformatics Laboratory TecNM · ITTG

11 mesi fa

Canale

Data Logging
CO2 Monitoring

11 mesi fa

Risposto
Solving nonlinear equation involving sum
It will take you a long time to evaluate the sum from n = 0 to n = 10000. You can solve it in a short time considering only fro...

oltre un anno fa | 0

Risposto
How to solve 3 simultaneous algebraic equations with a equality constraint.
You only need to express in terms of and plot that relationship: syms x1 x2 x3 t x3 = solve(x1+x2+x3 == 420,x3) EQ1 = x1 ==...

oltre un anno fa | 0

Risolto

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

oltre un anno fa

Risolto

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre un anno fa

Risolto

The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

oltre un anno fa

Risolto

Don't be mean. Be nice!
For this problem, you will be given a range of single digits R, and a separate number K. You job is to calculate the mean of al...

oltre un anno fa

Risolto

ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

oltre un anno fa

Risolto

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

oltre un anno fa

Risposto
how can I plot a unit step function?
This is my proposal, I hope it helps you: u = @(t) double(t>=0); h = @(t) u(t-2)-u(t-4); fplot(h,[0,5])

oltre un anno fa | 0

Inviato

Water Properties
Computes some physical properties of water dependent on temperature, from 1 to 99 celsius.

Inviato

Moody chart
Plots the Moody chart.

Inviato

Colebrook-White Equation
Computes the friction factor in pipes for given values of the Reynolds number (Re) and the relative roughness coefficient (epsil...

Inviato

figure2pdf
FIGURE2PDF exports the current MATLAB figure to a PDF file.

Inviato

getfigdata
GETFIGDATA extracts the xyz data from a FIG file.

Risolto

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

circa 3 anni fa

Risposto
how to write a user defined function that calculates the maximum or minimum of a quadratic equation of the form
Try this: --------------------- f = @(x) x^2-5*x+6; initial = 0; fminsearch(f,initial) --------------------- To find a max...

oltre 3 anni fa | 0

Risposto
Why power function give a complex number result?
The "problem" appears when you raise the base (-x / x50) to power n. In IEEE floating-point computations: a ^ n = exp(n * log(...

oltre 3 anni fa | 0

Risposto
Haw can I calculate the difference between two points in a plot?
Try this: --------------------------------------- plot(...) [x,y] = ginput(2); % clic on each point dx = diff(x) dy = diff(...

oltre 3 anni fa | 0

| accettato