Community Profile

# redman

Last seen: meer dan een jaar ago Active since 2021

#### Content Feed

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

meer dan een jaar ago | 1 answer | 0

### 1

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

meer dan een jaar ago | 2 answers | 0

### 2

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

ongeveer 2 jaar ago | 0 answers | 0

### 0

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

meer dan 2 jaar ago | 1 answer | 0