photo

Rafael Hernandez-Walls


Last seen: 23 Tage vor Aktiv seit 2010

Followers: 0   Following: 0

Nachricht

My interest is everything related to numerical schemes applied to PDE and Oceanography, UABC.

Statistik

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Knowledgeable Level 3
  • 6 Month Streak
  • Quiz Master
  • Community Group Solver
  • Personal Best Downloads Level 1
  • First Submission
  • Knowledgeable Level 2
  • Introduction to MATLAB Master
  • Project Euler I
  • Cody Problems in Japanese Master

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

7 Monate vor

Gelöst


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

7 Monate vor

Gelöst


Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

7 Monate vor

Gelöst


Count consecutive 0's in between values of 1
So you have some vector that contains 1's and 0's, and the goal is to return a vector that gives the number of 0's between each ...

10 Monate vor

Gelöst


Molar Air Density from Temperature and Pressure
The molar density of air can be found from the Temperature and Pressure using the ideal gas law. where the Molar density STP ...

etwa 2 Jahre vor

Gelöst


Calculate Wind Chill Factor
The NWS Wind Chill Temperature (WCT) index formula for calculating the dangers from winter winds and freezing temperatures: Cal...

etwa 2 Jahre vor

Gelöst


Air Mass to Star for an Observer at Mean Sea Level
Air mass is a measure of how much atmosphere light from a source above the atmosphere (eg sun, planet, star) has to travel throu...

etwa 2 Jahre vor

Gelöst


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Gelöst


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?

etwa 2 Jahre vor

Gelöst


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

etwa 2 Jahre vor

Gelöst


Composite Trapezoidal Rule for Numeric Integration
Use the trapezoidal rule to numerically integrate a function, _f(x)_, passed as the first argument, between upper and lower limi...

etwa 2 Jahre vor

Gelöst


Differential equations I
Given a function handle |f| an initial condition |y0| and a final time |tf|, solve numerically the differential equation dy...

etwa 2 Jahre vor

Gelöst


Weighted Convolution
Given two input vectors x = [x_1, x_2, ..., x_K] and y = [y_1, y_2, ..., y_K] of equal length, compute the weighted convolution ...

mehr als 2 Jahre vor

Beantwortet
Determine if any key is being pressed
If only use the function: pause

etwa 3 Jahre vor | 0

Gelöst


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

etwa 3 Jahre vor

Gelöst


mathematics , probability problem
How many different result can we have, rolling k dice?

mehr als 3 Jahre vor

Gelöst


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

mehr als 3 Jahre vor

Gelöst


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

mehr als 3 Jahre vor

Gelöst


Flip coins

mehr als 3 Jahre vor

Gelöst


Normalizing a vector

mehr als 3 Jahre vor

Gelöst


Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

mehr als 3 Jahre vor

Beantwortet
matlab not plotting graph
You need one point in the equation of z h = [2,4,6,8,10]; x = 10.1; y = 2.5; z = (x * h.^2 - x - sqrt(y^2*h.^2 - y^2))./ (h....

mehr als 3 Jahre vor | 0

Gelöst


Mass Conversion 1

mehr als 3 Jahre vor

Beantwortet
how i can find the chessboard lines and draw on the main image with any solution
Maybe you can use the Radon Transform, like this link: https://www.mathworks.com/help/images/detect-lines-using-the-radon-trans...

mehr als 3 Jahre vor | 0

Beantwortet
how can I get y which correspond to x and then plot (x,y)??
Try this: x=linspace(-4,4); for r=1:length(x) y(r)=fzero(@(y)y.^3+0.2*exp(-1*x(r).^2)*y.^2-2.2039*y.^2+0.8155,1); end p...

mehr als 3 Jahre vor | 0

Beantwortet
How to read data from text file and store as it is with variables
Assuming you have a file with only following line (name of file= 'algo.txt'): phi1_32_1 = 1 You could then read the line with...

mehr als 3 Jahre vor | 0

Beantwortet
numerical simulation of travelling wave of epidemic model
try this.... clear all; xl=0; xr=1; %domain[xl,xr] J=1000; % J: number of dividion for x dx=(x...

mehr als 3 Jahre vor | 0

Mehr laden