photo

Mohannad Abboushi


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to change function to get correct bifurcation behavior?
I have a system of ODE's that was modelled and now I am trying to vary the parameters for an ODE of interest (dDSB). The equatio...

ongeveer 7 jaar ago | 0 answers | 0

0

answers

Question


Can someone explain to me whats off with this function handle?
So I have a function where I want to model the population of predators and prey based off of the classic model Lotka-Volterra. I...

meer dan 7 jaar ago | 2 answers | 0

2

answers

Question


Why does this function handle not take the inputs?
So I have to approximate the value of sin(x) using the Runge-Kutta method. Here's my code: function [X,Y]=rungekutta(fprim...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


How to index this structure
So I have a structure with lots of fields and corresponding values. So for instance if I want to find the indexes for a range of...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


How do i change these for loops so that I get the right numbers for this "game"?
So basically I have an R-by-C game board, with certain amount of money placed on each board square. I am asked to start from the...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


Why does this probability density function looks off?
I have a random variable x which has a mean of 10 and a variance of 16. I used the following code to generate the array and the ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


Find isn't getting the right index it says: "Error using > Matrix dimensions must agree."
How do I change the find to get the right index in the program that finds stop and start codons to get the longest reading frame...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


How do I make a cell with the following contents?
I am making a program that basically takes a string s as a single strand of DNA and returns the amino acid sequence of the longe...

meer dan 7 jaar ago | 2 answers | 0

2

answers

Question


Why is geosoftread not working?
I keep getting the following error message when I try to use the function geosoftread : Error in geosoftread (line 36) bi...

ongeveer 8 jaar ago | 0 answers | 0

0

answers

Question


How do i do a sensitivity analysis for my simulink model?
I created a simulink model for bone remodeling that has 3 scopes: x1,x2,and z. There are various parameters involved in the 3 di...

ongeveer 8 jaar ago | 0 answers | 0

0

answers

Question


Why do these lines of code not function properly?
In this function the first if statement does not work when I provide a matrix with elements larger than 4. I have tried using fo...

ongeveer 8 jaar ago | 1 answer | 0

1

answer

Question


Why is the output value a zero when it should be 1 for this program?
This function takes a matrix representing a 4x4 Sudoku board and returns true if the board is a valid Sudoku solution and false ...

ongeveer 8 jaar ago | 3 answers | 0

3

answers

Question


Why is only my first output value wrong?
In this program I am modeling the the population of rabbits and foxes. The mathematical model I use predicts that each year the ...

ongeveer 8 jaar ago | 1 answer | 0

1

answer

Question


How do I code this in a more efficient way?
The prompt states: Let matrix M (with R rows, C columns) represent the number of bacteria in each block of this grid. When a ...

ongeveer 8 jaar ago | 1 answer | 1

1

answer

Question


Why is this function not recognizing the correct number of rows?
In this function I am taking a matrix m where each row holds a student's grades and each column is a different assignment, and r...

ongeveer 8 jaar ago | 1 answer | 0

1

answer

Question


How do i return the largest Fibonacci number that is less than or equal to x?
I wrote a recursive code to get the fibonacci number, but I need to get the fibonacci value that is less than or equal to x. For...

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


Why do I get this error "In an assignment A(:) = B, the number of elements in A and B must be the same"?
In this code I created a function to sort a vector from smallest to largest. It works when the vector has odd number of elements...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How do i change the input to make it any word I type in?
In this program I am supposed to take a character array s as input and return a new character array with each letter shifted for...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How do I plot a graph with a variable changing values without a for loop?
I am trying to get a graph with 4 plots where a variable in my code 'X6' is changing from .5 to 1 to 3 to 5. How do I do this si...

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


Having a problem with the ODE solver working what should I change?
In this program I have three state variables that I am trying to graph using ODE's. The code seems fine, but for some reason the...

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


Why is the ODE solver saying not enough input arguments?
In this program I am modeling the cell cycle with three differential equations. I am trying to output all three variables C, M a...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How do you call a function from another m.file?
I am trying to use another function's values to make a plot of error for a mathematical method. Here's my code so far. "Actualpl...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How can i modify this for loop to only give "integer indices values"?
function[y]= hw3question1a(t,y) y=1; h=.02; t=0; f=(3*exp(-(4*t)))-2*y; for i=1:50 t(i+1)=t(...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How do I get all functions in this code on one figure? It is only displaying the plot from the first function.
function question1 y=1; h=.02; t=0 tic for i=1:2500 hold on t(i+1)=t(i)+h; y(i+1)=y(i)+h...

meer dan 8 jaar ago | 1 answer | 0

1

answer