Saurav Roy
National Brain Research Center
Followers: 0 Following: 0
Designation : Research and Development Engineer
Feeds
提问
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...
4 years 前 | 0 个回答 | 0
0
个回答已解决
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 ...
4 years 前
已解决
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...
4 years 前
已解决
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...
4 years 前
已解决
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...
4 years 前
已解决
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...
4 years 前
已解决
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 ...
4 years 前
已解决
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...
4 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4 years 前
已解决
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]; ...
4 years 前
已解决
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...
4 years 前
已解决
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.
4 years 前
已解决
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...
4 years 前
已回答
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...
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...
4 years 前 | 0
| 已接受
已回答
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...
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...
4 years 前 | 1
已回答
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); ...
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); ...
4 years 前 | 0
已回答
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 = []...
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 = []...
4 years 前 | 1
提问
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: ...
4 years 前 | 1 个回答 | 0
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 ...
5 years 前
已解决
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...
5 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
5 years 前
已解决
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:...
5 years 前
提问
I have a 3D MRI image with me and I want to plot a histogram of it's value. Can someone please suggest a way to plot the same ?
6 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
6 years 前 | 0 个回答 | 0