Michael Cappello
Raytheon
Followers: 0 Following: 0
Matlab coder for 20+ years,
Programming Languages:
MATLAB
Spoken Languages:
English
MATLAB
Spoken Languages:
English
Feeds
질문
Why Is Colon Operator Not Equivalent To linspace Command?
Why does q not equal zero in the following? q = isequal(0:.08:50000,linspace(0,50000,625001))
7일 전 | 답변 수: 3 | 0
3
답변문제를 풀었습니다
Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...
대략 1개월 전
문제를 풀었습니다
Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...
대략 1개월 전
문제를 풀었습니다
Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...
대략 2개월 전
문제를 풀었습니다
Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...
대략 2개월 전
문제를 풀었습니다
Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...
대략 2개월 전
문제를 풀었습니다
Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...
대략 2개월 전
문제를 풀었습니다
Counting in Finnish
Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...
2개월 전
문제를 풀었습니다
Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...
3개월 전
문제를 풀었습니다
Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...
3개월 전
문제를 풀었습니다
remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...
3개월 전
문제를 풀었습니다
Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...
3개월 전
문제를 풀었습니다
Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...
3개월 전
문제를 풀었습니다
Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)
3개월 전
문제를 풀었습니다
Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)
3개월 전
문제를 풀었습니다
Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)
3개월 전
문제를 풀었습니다
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 :)
3개월 전
문제를 풀었습니다
String Logic 15
Examples: 'CAT' --> 'XZG' 'DOG' --> 'WLT' 'ROSY' --> 'ILHB' 'MOSTLY' --> 'NLHGOB'
3개월 전
문제를 풀었습니다
String Logic 7
Examples: 'CAT' --> 84 'DOG' --> 79 'ROSY' --> 89 'MATLAB' --> 84 'TRUST' --> 85 'MOSTLY' --> 89
3개월 전
문제를 풀었습니다
String Logic 9
Examples: 'CAT' --> 'C' 'DOG' --> 'G' 'ROSLY' --> 'R' 'PROBLEM' --> 'M' 'TRUST' --> 'T' 'BASIC' --> 'C' 'GIANT' --> 'I'...
3개월 전
문제를 풀었습니다
String Logic 14
Examples: 'DIG' --> 'HRN' 'KIMBALL' --> 'VRZDBXX' 'DEAL' --> 'HJBX' 'LIMB' --> 'XRZD' 'MADE' --> 'ZBHJ' 'CHEF' --> 'FPJL'
3개월 전
문제를 풀었습니다
String Logic 6
Examples: 'CAT' --> 216 'DOG' --> 218 'ROSY' --> 333 'MATLAB' --> 433 'TRUST' --> 418 'MOSTLY' --> 488
3개월 전
문제를 풀었습니다
String Logic 19
Examples: 'DIG' --> 'I' 'IMPORTANT' --> 'MOTN' 'DEAL' --> 'EL' 'LIMB' --> 'IB' 'MOSTLY' --> 'OTY'
3개월 전
문제를 풀었습니다
Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...
3개월 전
문제를 풀었습니다
String Logic 11
Examples: 'SUNDAY' --> 6 'MONDAY' --> 6 'TUESDAY' --> 7 'WEDNESDAY' --> 9 'THURSDAY' --> 8 'FRIDAY' --> 5 'SATURDAY' --...
3개월 전
문제를 풀었습니다
Remove Upper Case Letters
Example Matlab --> atlab proBlem --> prolem Enter --> nter
3개월 전
문제를 풀었습니다
String Logic 5
Example: 'CAT' --> 'TAC' 'DOG' --> 'GOD' 'MATLAB' --> 'BALTAM' 'ROSY' --> 'YSOR' 'TRUST' --> 'TSURT' 'MOSTLY' --> 'YLTS...
3개월 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
3개월 전