Community Profile

photo

Saurav Roy


National Brain Research Center

Last seen: nästan 2 år ago Active since 2019

Followers: 0   Following: 0

Designation : Research and Development Engineer

Statistics

All
  • Thankful Level 2
  • Knowledgeable Level 1
  • First Answer
  • Solver
  • Thankful Level 1

View badges

Feeds

View by

Question


Take user inputs via a for loop and then apply 'CrossTab'
Hello everyone, I want a chi-square statistics value hence I want to user the function crosstab using n number of variables. Al...

mer än 3 år ago | 0 answers | 0

0

answers

Solved


Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

nästan 4 år ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

nästan 4 år ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

nästan 4 år ago

Solved


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

nästan 4 år ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

nästan 4 år ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

nästan 4 år ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

nästan 4 år ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

nästan 4 år ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

nästan 4 år ago

Solved


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

nästan 4 år ago

Solved


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

nästan 4 år ago

Solved


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

nästan 4 år ago

Solved


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

nästan 4 år ago

Solved


Problem for beginners
Suppose that x is a column vector, with at least a length of 6. Delete the 2., 6., and the second last row. Example: X=[1;2;3...

nästan 4 år ago

Answered
Put excel collumns in an array
Hey ! I hope this is what you are looking for.... % Read Excel Sheet [~,~,data] = xlsread('Add path to the excel file (.xlsx...

nästan 4 år ago | 0

| accepted

Answered
How to modify array in modifying subarray reference ?
Hi.... I am not sure I understood your question properly but I wrote something as per my initial understanding to get your resu...

nästan 4 år ago | 1

Answered
Create for loop to simplify code and output arrays
Hey ! I think this is somwhat close to what you are looking for, num = length(a); len = a(4);st = 5; y = a(st: st+num-1); ...

nästan 4 år ago | 0

Answered
How to calculate the average between each two adjacent members(rows or columns)?
Hey, Try this for the Row and adjust accordingly for the columns. arr = [1 2 3 4 5]; len = length(arr); arr_secondary = []...

nästan 4 år ago | 1

Question


Add a variable in eventdata
I need to add a variable that is user defined into 'eventdata' that is being generated using a GUI that I have made. Example: ...

nästan 4 år ago | 1 answer | 0

1

answer

Solved


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

mer än 4 år ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mer än 4 år ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mer än 4 år ago

Solved


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

mer än 4 år ago

Question


How can I calculate Conditional Logistics of a given Data ?
Hey Everyone !!! I have two datasets as follows: X = [ 57.5 54.7 52 50 48.6 48 49.4 50.4]; % Continuous Data Y = [ 1 0 ...

mer än 5 år ago | 0 answers | 0

0

answers