photo

redman


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to plot multiple graphs on the same figure using a loop?
Hi, I have attached the code im working on below. In the when the first for loop executes, the if statement at the bottom execut...

2 years ago | 1 answer | 0

1

answer

Question


How can I find the number of specific submatrices inside a matrix?
Hi, If i ran this code, A = randi([0, 1], [10,10]) I would get something like A = 1 0 0 1 1 1 ...

2 years ago | 2 answers | 0

2

answers

Question


How can I specify the boundaries of a variable?
I'm trying to make the range of x as follows u(x,0) = In the following code where x is commented as ' X variable' function [u...

3 years ago | 1 answer | 0

1

answer

Question


How can i convert this R code into MATLAB
The code is as follows ef=function(x) { r=rnorm(10000,0,1/sqrt(2)) v=ifelse(r<=x & r>=0,1,0) e=2*(sum(v)/length(r)) retur...

3 years ago | 1 answer | 0

1

answer

Question


Matlab is rounding all answers to 4dp when I use syms.
Matlab keeps rounding my outputted values in the command window to 4dp, I've looked all over mathworks and I can't find a soluti...

3 years ago | 1 answer | 0

1

answer