photo

redman


Last seen: plus de 2 ans il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

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

plus de 2 ans il y a | 2 réponses | 0

2

réponses

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse