redman
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0