S. Walter
Reaction Systems, Inc.
Followers: 0 Following: 0
Aerospace engineer focused on propulsion research and development. Background in fluid dynamics, inlet design, turbomachinery.
Python, C++, Java, R, MATLAB, HTML, Fortran, Visual Basic
Spoken Languages:
English, French, German
Statistiques
RANG
2 389
of 292 710
RÉPUTATION
24
CONTRIBUTIONS
0 Questions
8 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
4
RANG
of 19 933
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
How I can extract certain range of value from workspace?
You have a matrix A: A = rand(100,100); You want only the 5th through the 10th elements, you can do that using the colon opera...
plus de 3 ans il y a | 0
Else if statement imbedded in a for loop
If you want your for loop to pick only one item from the Tp vector, you have to iterate Tp inside your for loop. Thus: if Tp<=...
plus de 3 ans il y a | 0
How to save each image generated in a for loop?
You can print the image: print('filename','-dpng','-r300') where '-dpng' can be set to whatever format you want (check out the...
plus de 3 ans il y a | 0
Last else if graph not plotting
I tried the following: % Clear the command window and close the figures clc close all % Make a color vector for plots col...
plus de 3 ans il y a | 1
| A accepté
A résolu
Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.
presque 4 ans il y a
A résolu
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
presque 4 ans il y a
A résolu
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
presque 4 ans il y a
A résolu
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
presque 4 ans il y a
A résolu
Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...
presque 4 ans il y a
A résolu
Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...
presque 4 ans il y a
A résolu
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
presque 4 ans il y a
A résolu
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
presque 4 ans il y a
A résolu
Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.
presque 4 ans il y a
A résolu
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
presque 4 ans il y a
A résolu
radius of a spherical planet
You just measured its surface area, that is the input.
presque 4 ans il y a
A résolu
Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.
presque 4 ans il y a
A résolu
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...
presque 4 ans il y a
A résolu
Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...
presque 4 ans il y a
A résolu
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
presque 4 ans il y a
A résolu
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 + ...
presque 4 ans il y a
A résolu
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
presque 4 ans il y a
A résolu
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
presque 4 ans il y a
A résolu
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
presque 4 ans il y a
A résolu
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...
presque 4 ans il y a
A résolu
How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...
presque 4 ans il y a
A résolu
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
presque 4 ans il y a