Community Profile

photo

Yaz Majeed


2015년부터 활동

통계

All
  • Likeable
  • Famous
  • Quiz Master
  • Commenter
  • Speed Demon
  • Puzzler
  • Creator
  • Solver

배지 보기

Content Feed

보기 기준

질문


Matlab won't start if using a custom Windows theme!
Hello, I'm trying to fix a strange issue with Matlab. I'm using a custom windows 8.1 theme, without patching system files (Ux...

8년 초과 전 | 답변 수: 0 | 0

0

답변

문제


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

대략 9년 전 | 2 | 솔버 수: 180

문제


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

대략 9년 전 | 1 | 솔버 수: 237

문제


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

대략 9년 전 | 1 | 솔버 수: 242

문제


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

대략 9년 전 | 3 | 솔버 수: 359

문제


Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...

대략 9년 전 | 1 | 솔버 수: 226

문제


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

대략 9년 전 | 0 | 솔버 수: 89

문제


Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound

대략 9년 전 | 0 | 솔버 수: 156

문제


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

대략 9년 전 | 3 | 솔버 수: 234

문제


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

대략 9년 전 | 1 | 솔버 수: 295

문제


Matlab Basics II - Log and natural log
Write a function that calculates the difference between the log and natural log of a vector, to two decimal places example: ...

대략 9년 전 | 3 | 솔버 수: 176

문제


Matlab Basics II - Find the roots of a function
Write a function that finds where a curve crosses zero (the x-axis) to two decimal places Example: <<http://s14.postimg.o...

대략 9년 전 | 0 | 솔버 수: 88

문제


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

대략 9년 전 | 4 | 솔버 수: 362

문제


Matlab Basics II - Velocity of a particle
A particle is moving in space, such that it's velocity is given by: <<http://s30.postimg.org/5rf1xtvj5/cody1.png>> write a...

대략 9년 전 | 2 | 솔버 수: 149

문제


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

대략 9년 전 | 4 | 솔버 수: 325

문제


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

대략 9년 전 | 2 | 솔버 수: 424

문제


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

대략 9년 전 | 0 | 솔버 수: 112

문제


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

대략 9년 전 | 0 | 솔버 수: 141

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 9년 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

대략 9년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

대략 9년 전

문제를 풀었습니다


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

대략 9년 전

문제


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

대략 9년 전 | 5 | 솔버 수: 310

문제


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

대략 9년 전 | 5 | 솔버 수: 606

문제


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

대략 9년 전 | 3 | 솔버 수: 251

문제


Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

대략 9년 전 | 3 | 솔버 수: 248

문제


Matlab Basics - Set unwated parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. e.g. x = [1 2 3 4 5 6 7] --> x = [1 ...

대략 9년 전 | 2 | 솔버 수: 238

문제


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

대략 9년 전 | 4 | 솔버 수: 583

문제


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

대략 9년 전 | 0 | 솔버 수: 444

문제


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

대략 9년 전 | 18 | 솔버 수: 4118

더 보기