Pedro Villena
Followers: 0 Following: 0
Mechanical Engineering,
Industrial Automation Engineering,
Aerospace Engineering.
Feeds
제출됨
BarCode Generator GS1-128
Generate a barcode image (BMP file) using GS1-128 symbology specifications (section 5.3)
3년 초과 전 | 다운로드 수: 5 |
문제를 풀었습니다
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
10년 초과 전
문제를 풀었습니다
Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.
10년 초과 전
답변 있음
Can anyone please debug the error
You had made some errors: * symsum is a symbolic command for symbolic variables. symsum(x(k),k,0,9) -> sum(x) * i...
Can anyone please debug the error
You had made some errors: * symsum is a symbolic command for symbolic variables. symsum(x(k),k,0,9) -> sum(x) * i...
10년 초과 전 | 0
| 수락됨
답변 있음
How can I write a function called triAreaN that computes the area of N triangles?
function A = triAreaN(B,H) if numel(B)==numel(H), A = 0.5*(B.*H); else error('B and H must be same length'); e...
How can I write a function called triAreaN that computes the area of N triangles?
function A = triAreaN(B,H) if numel(B)==numel(H), A = 0.5*(B.*H); else error('B and H must be same length'); e...
거의 11년 전 | 0
| 수락됨
문제를 풀었습니다
Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...
거의 11년 전
문제를 풀었습니다
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
거의 11년 전
문제를 풀었습니다
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....
거의 11년 전
문제를 풀었습니다
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
거의 11년 전
답변 있음
how to create speech waves with equal loudness in matlab
I suggest you to use Microsoft Anna (Text to Speech) and save the sound in a *.wav file or *.mp3 file. Then import the sound ...
how to create speech waves with equal loudness in matlab
I suggest you to use Microsoft Anna (Text to Speech) and save the sound in a *.wav file or *.mp3 file. Then import the sound ...
대략 11년 전 | 0
| 수락됨
답변 있음
How do I remove background noise from a sound wave?
Create and Implement LMS Adaptive Filter to remove the filtered noise from desired signal mtlb_noisy = y; noise = n; ...
How do I remove background noise from a sound wave?
Create and Implement LMS Adaptive Filter to remove the filtered noise from desired signal mtlb_noisy = y; noise = n; ...
대략 11년 전 | 4
| 수락됨
문제를 풀었습니다
Cosine frequency doubler
Given an input vector containing a cosine wave of unknown frequency, produce an output vector of the same length containing a co...
대략 11년 전
문제를 풀었습니다
Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...
대략 11년 전
문제를 풀었습니다
Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provide...
대략 11년 전
문제를 풀었습니다
All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...
대략 11년 전
문제를 풀었습니다
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...
대략 11년 전
문제를 풀었습니다
Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...
대략 11년 전
문제를 풀었습니다
Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...
대략 11년 전
문제를 풀었습니다
The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
대략 11년 전
문제를 풀었습니다
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
대략 11년 전
문제를 풀었습니다
Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...
대략 11년 전
문제를 풀었습니다
Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...
대략 11년 전
문제를 풀었습니다
Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...
대략 11년 전
문제를 풀었습니다
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
대략 11년 전
문제를 풀었습니다
Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...
대략 11년 전
문제를 풀었습니다
Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...
대략 11년 전
문제를 풀었습니다
Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9
대략 11년 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
대략 11년 전