photo

Delshad Ayoubi


Aktiv seit 2017

Followers: 0   Following: 0

Statistik

All
MATLAB Answers

9 Fragen
0 Antworten

Cody

0 Probleme
8 Lösungen

RANG
98.934
of 300.343

REPUTATION
0

BEITRÄGE
9 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
55.56%

ERHALTENE STIMMEN
0

RANG
 of 20.926

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
44.415
of 168.172

BEITRÄGE
0 Probleme
8 Lösungen

PUNKTESTAND
90

ANZAHL DER ABZEICHEN
1

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Highlights

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 3
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How can I make my code faster?
clear, clc, close all %-------------------------------------------------------------% N = 10^3; M = 400; radie = 5...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I use hist3 with my code?
In this code, I'm plotting a lot of particles and I want to represent them visually in a hist3 plot. I don't know how to make it...

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Double for loop in a random walk. How do I loop over all particles simultaneously instead of looping the amount of steps for each separate particle one at a time?
I currently have a script that utilizes a double for loop in order to create a random walk in 2D. It however is looping over all...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How do I make a 2D randomwalk?
I have so far only been able to make a 1D randomwalk but I have to make it into 2D. Below is my code for 1D. How do I change it ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to loop a value into a vector, how do I do this?
I am trying to loop through my script in order to get several values of one variable (D_N), and then putting all these values in...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to put all the values of a for loop in a vector?
I want D_N to get another value in each loop and then put that value in a vector, T amount of times. Basically, I want to be abl...

etwa 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Plot the same function several times in one go (Random walk)?
clear clc ================== N = 10; % number of steps. M = 10; x_t(1) = 0; for n = 1:N a = ...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I draw the graph of the same function several times?
clear clc x_t(1) = 0; N = 10^2; for t = 1:N xlabel('t'), ylabel('x_t'), title('Random Walk') ...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Write a function fml(x) where given vector x returns first, middle and last. If the number of elements in the vector are even, middle should take the mean value of the innermost elements.
function [first, middle, last] = fml(x) %FML Returns the first, middle, and last element of x first = x(1); last = x(le...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

etwa 8 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

etwa 8 Jahre vor

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

etwa 8 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

etwa 8 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

etwa 8 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

etwa 8 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

etwa 8 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

etwa 8 Jahre vor