Community Profile

photo

redman


Last seen: circa 2 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta