Community Profile

photo

S


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How do I input this equation into Matlab to show me its graph?
I am having trouble creating a line graph for the following equation: y = rx(1-x/K) - hx/(1+0.05x) where r=0.5, K=100, h=0.8 H...

7 years ago | 0 answers | 0

0

answers

Question


Using the text command, how can I display a string genrated from sprintf and a string in one line?
I want to display the p value of a ttest on a graph that I have constructed. The label has to be in the format "p = XXXX" where...

9 years ago | 1 answer | 0

1

answer

Question


How can I turn this pseudo code into a Matlab code?
I want to make a for loop that describes this but I am unsure how to start. I am making a function with the input X. Pseudo...

9 years ago | 0 answers | 0

0

answers

Question


How can I get the sprintf function to work for a cell array and a matrix?
I am writing a code in which I need to use the sprintf function to display the output values. The output values include 2 cell a...

9 years ago | 1 answer | 0

1

answer

Question


I keep getting an empty cell, how can I get a cell with a value in it for this problem?
ChIP-seq is used to identify genomic segments bound by transcription factors. In a ChIP-seq experiment, you obtain the chromosom...

9 years ago | 1 answer | 0

1

answer

Question


How can I get my output to come out in a string?
I am currently using the following code: x = cellfun(@num2str, num2cell(a), 'UniformOutput', true) where a= 'apple'...

9 years ago | 2 answers | 0

2

answers

Question


I am given the following pseudo code for this problem. How can I convert this to Matlab?
ChIP-seq is used to identify genomic segments bound by transcription factors. In a ChIP-seq experiment, you obtain the chromosom...

9 years ago | 0 answers | 0

0

answers

Question


Given a table, how can I find corresponding values for a given element?
In this problem, you will write a function site=getsite(enzyme,rebasefile) that takes a restriction enzyme name and ...

9 years ago | 1 answer | 0

1

answer

Question


How can I find the symbol given the gene id?
ID and name conversion is one of the common tasks in Bioinformatics. In this problem, you will write a function symbol=geneidtos...

9 years ago | 1 answer | 0

1

answer

Question


Error that says that the some variable is nonexistent?
I am trying to solve this problem: You are testing a functional near infrared (fNIR) device and measuring how well each subj...

9 years ago | 1 answer | 0

1

answer

Question


How can I solve this problem?
Consider a cell of strings containing gender and height information of some patients (but the data is a little bit messy). Gende...

9 years ago | 1 answer | 0

1

answer

Question


What does this error mean?
I keep getting an error saying that there is an "Unbalanced or unexpected parenthesis or bracket." This is the line I keep gett...

9 years ago | 1 answer | 0

1

answer

Question


I am having trouble understand what this command does. Can anyone help me?
reshape(repmat([1 2],2,2),1,[]) I know repmat replicates the matrix and reshape reshapes the matrix, but what does it replica...

9 years ago | 1 answer | 0

1

answer

Question


How can I write a function that gives out a matrix with the specified rows and columns?
Write a function getfancyrectangle(R,C) that takes the number of rows and columns and returns a string as a character matrix, co...

9 years ago | 2 answers | 0

2

answers

Question


Writing a code for Fibonacci sequence that will return a number closest to the number entered?
How can I write a function that returns the largest Fibonacci number that is less than or equal to x. The Fibonacci number is d...

9 years ago | 2 answers | 0

2

answers

Question


How can I return a vector sorting from least to greatest without using the "sort" command?
If you a given a vector v=[4 2 7 4 12 9] how can I return this vector sorted from least to greatest without using the "sort" com...

9 years ago | 3 answers | 1

3

answers

Question


How can I write this function so I can use it on multiple values?
I have written a function for finding the body mass index based on weight and height. However, I can only calculate this for one...

9 years ago | 1 answer | 0

1

answer

Question


When given a matrix with x columns, how do you multiply the first column by 1, the second column by 2, etc?
For example, if the matrix has 4 columns. I want to multiply the first column by 1, the second column by 2, the third column by ...

9 years ago | 1 answer | 0

1

answer