Community Profile

photo

Saurav Roy


National Brain Research Center

Last seen: presque 2 ans il y a Actif depuis 2019

Followers: 0   Following: 0

Designation : Research and Development Engineer

Statistiques

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

Afficher les badges

Feeds

Afficher par

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

plus de 3 ans il y a | 1 réponse | 0

0

réponse

A résolu


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

presque 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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.

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A répondu
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...

environ 4 ans il y a | 0

| A accepté

A répondu
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...

environ 4 ans il y a | 1

A répondu
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); ...

environ 4 ans il y a | 0

A répondu
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 = []...

environ 4 ans il y a | 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: ...

environ 4 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

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

plus de 5 ans il y a | 1 réponse | 0

0

réponse