Community Profile

# Rafael Hernandez-Walls

Last seen: 약 1달 전 2010년부터 활동

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

All

배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

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

약 1달 전

문제를 풀었습니다

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

약 1달 전

문제를 풀었습니다

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

약 1달 전

문제를 풀었습니다

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

약 1달 전

문제를 풀었습니다

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

약 1달 전

문제를 풀었습니다

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?

약 2달 전

문제를 풀었습니다

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

약 2달 전

문제를 풀었습니다

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

3달 전

문제를 풀었습니다

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

3달 전

문제를 풀었습니다

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

7달 전

답변 있음
Determine if any key is being pressed
If only use the function: pause

약 1년 전 | 0

문제를 풀었습니다

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

약 1년 전

문제를 풀었습니다

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

1년 이상 전

문제를 풀었습니다

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

1년 이상 전

문제를 풀었습니다

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

1년 이상 전

문제를 풀었습니다

Flip coins

1년 이상 전

문제를 풀었습니다

Normalizing a vector

1년 이상 전

문제를 풀었습니다

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

1년 이상 전

문제를 풀었습니다

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

1년 이상 전

문제를 풀었습니다

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

1년 이상 전

답변 있음
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....

1년 이상 전 | 0

문제를 풀었습니다

Mass Conversion 1

1년 이상 전

답변 있음
how i can find the chessboard lines and draw on the main image with any solution

1년 이상 전 | 0

답변 있음
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...

1년 이상 전 | 0

답변 있음
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...

1년 이상 전 | 0

답변 있음
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...

1년 이상 전 | 0

답변 있음
try this Dens1 = [A(:,1),9.11*A(:,2).^(1.326)]; fileID1=fopen('E1.txt','w'); % [n,~]=size(Dens1); for k=1:n b=fprintf(...

1년 이상 전 | 0

답변 있음
How to display correlation coefficents on plot?
you can try something like this: x = [0 0.000009 0.000018 0.000028 0.000037 0.000046 0.000055 0.000065 0.000074 0.000083 0.0000...

1년 이상 전 | 0

답변 있음
extracting value from a matrix
I think it is better to put the variable X as a string and from there start. for example: X=['1000000000000000000000000000000...

1년 이상 전 | 0

| 수락됨

답변 있음
How to get Taylor polynomial for functions?
You can use a function that is in the MAThWORKS fileexchange (I put the link): str=input('Function? ','s'); %tray with: cos(x)...

1년 이상 전 | 0

| 수락됨