Community Profile

# Tayyab Khalil

Last seen: 4日 前 2021 以来アクティブ

All

バッジを表示

#### Content Feed

Find Logic 17

Find the Pattern 9

Find Logic 18

Find Logic 19

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

Inner product of two vectors
Find the inner product of two vectors.

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

Solving non-linear equation in vector form
Hi all, hope you are doing well. Soi have a simple equation where the known value is a vector. So i need to get a vector as the...

### 3

Error with Min-Max Scaling
First thing, kindly post your code inside a code block to make it easier to read. I got your code working by simply assigning ...

| 採用済み

Plotting over a histogram
Hi all, So I am trying to plot a normal curve over a histogram but the curve doesn't appear. Here is the code: clear all, clo...

### 1

Power Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that represent powers. Fo...

1年以上 前

Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

1年以上 前

Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

1年以上 前

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

1年以上 前

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

1年以上 前

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

1年以上 前

ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

1年以上 前

Unrecognized function or variable error code help required
This is because A_i is undefined in the code but is being used. What value do you want it to have?

1年以上 前 | 0

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1年以上 前