photo

Chaya N


2016년부터 활동

Followers: 0   Following: 0

메시지

통계

All
MATLAB Answers

0 질문
44 답변

File Exchange

1 파일

Cody

2 문제
285 답안

순위
750
of 299,390

평판
104

참여
0 질문
44 답변

답변 채택
0.00%

획득한 표
18

순위
12,367 of 20,699

평판
31

평균 평점
0.00

참여
1 파일

다운로드 수
1

ALL TIME 다운로드 수
315

순위
910
of 164,320

참여
2 문제
285 답안

점수
2,360

배지 수
7

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Knowledgeable Level 3
  • Quiz Master
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Speed Demon
  • CUP Challenge Master
  • Creator
  • Promoter
  • Commenter
  • Solver

배지 보기

Feeds

보기 기준

문제를 풀었습니다


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

8년 초과 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

8년 초과 전

문제를 풀었습니다


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

8년 초과 전

문제를 풀었습니다


Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

8년 초과 전

문제를 풀었습니다


intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...

8년 초과 전

문제를 풀었습니다


Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

8년 초과 전

문제를 풀었습니다


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

8년 초과 전

문제를 풀었습니다


Create logical matrix with a specific row and column sums
Given two numbers *|n|* and *|s|*, build an |n-by-n| logical matrix (of only zeros and ones), such that both the row sums and th...

8년 초과 전

문제를 풀었습니다


Is my wife really right?
For every input, output the string 'yes' once. Example: [yes1, yes2] = YesSheIs('Am I right?', 'Do you love me?') yes1 = '...

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

8년 초과 전

문제를 풀었습니다


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

8년 초과 전

문제를 풀었습니다


Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...

8년 초과 전

문제를 풀었습니다


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

8년 초과 전

문제를 풀었습니다


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

8년 초과 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

8년 초과 전

문제를 풀었습니다


Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

8년 초과 전

문제를 풀었습니다


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

8년 초과 전

문제를 풀었습니다


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

8년 초과 전

문제를 풀었습니다


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

8년 초과 전

문제를 풀었습니다


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

8년 초과 전

문제를 풀었습니다


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

8년 초과 전

문제를 풀었습니다


Insect population
An insect population doubles every generation. * Write a while loop that iterates numGeneration times. * Write a statment ...

8년 초과 전

문제를 풀었습니다


Bridge toll
Complete the example to calculate finalToll. The base toll for a bridge is baseToll. If the vehicle's weight is over 5,000 pound...

8년 초과 전

문제를 풀었습니다


Logical operators: Flipping bits
The xor operator will toggle the bit if the bit is xored with 1. Ex: 1 XOR 0 = 1, 1 XOR 1 = 0. The xor operator will retain th...

8년 초과 전

문제를 풀었습니다


Logical operators and arrays: 3-input and truth table
Given 3 inputs (inputA, inputB, inputC), assign threeInputAnd with the truth table outcomes for a 3 variable logical-and operati...

8년 초과 전

문제를 풀었습니다


Constructing strings
* Construct a string alphaString from 'a' to endLetter, using the double colon operator. Ex: If endLetter = 'e', then alphaSt...

8년 초과 전

문제를 풀었습니다


Logical variables: Running late?
* Assign onTime with true if noTraffic is true and gasEmpty is false.

8년 초과 전

문제를 풀었습니다


Relational operators and row arrays: Run times
* Construct a row array fastRunTimes containing all elements of runTimes equal to or less than 480 seconds. Ex: If runTimes =...

8년 초과 전

문제를 풀었습니다


Nth root.
* Assign outValues with the nth root of the inValues, the root is specified by rootValue

8년 초과 전

더 보기