The Legend
Followers: 0 Following: 0
Statistica
RANK
30.878
of 294.347
REPUTAZIONE
1
CONTRIBUTI
16 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
50.0%
VOTI RICEVUTI
1
RANK
of 151.460
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Implement friction into a model, related to the velocity. (Missile Launch)
Does anyone know how I could implement friction into my code located down below? The friction should be defined as: Ff_vector =...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
How do I implement friction into my script?
clear; close all; clc; tic aT = 0; ad = 0; for i = [37:2:53] r = 6371 * 10^3; G = 6.674 * 10^-11; M =...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Alternating up and down in my script to find path through 'maze'
Scrip folder is attached! (.zip) The point of this script is to find if a path exists of 1's between the bottom row and top row...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
My script isn't working, can someone please! help me? Further explanation in thread.
function M = initializeBoard(N, p) for i = 1 : N for j = 1 : N x = rand(1); if (x < p) M(i,...
oltre 4 anni fa | 0 risposte | 0
0
risposteDomanda
How to derive the following equation? I need this for a script that I am working on.
Equation 1 Can someone help me derive equation (2) from equation (1)? I have struggled with this for 1 hour and have no clue...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Can anyone tell me why the 2 scripts that i attached are giving different outputs for the same inputs?
Can anyone tell me why the 2 scripts that i attached are giving different outputs for the same inputs? They should be doing exa...
oltre 4 anni fa | 0 risposte | 0
0
risposteDomanda
Alternating up and down in my script to find path through 'maze'
Scrip folder is attached! (.zip) The point of this script is to find if a path exists of 1's between the bottom row and top row...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Why isn't the code properly distributing the 1's and 2's in the ratio 3:4 or 4:3?
Why isn't the code distributing the 1's and 2's in the ratio 3:4 or 4:3? Why is it outputting zeros where it shouldn't (look at...
quasi 5 anni fa | 0 risposte | 0
0
risposteDomanda
Is there it possible to create a function that checks for the best next move in this Connect N game?
Input: M = [0,0,0,0,0,0,0;0,0,0,1,0,0,0;0,2,1,2,0,0,0;0,1,1,1,0,0,0;2,2,1,1,2,0,0;1,2,1,2,1,1,2] Visualized: 0 0 0 0 0 0 0 0...
quasi 5 anni fa | 1 risposta | 1
1
rispostaDomanda
How do I write a function that checks whether there is a horizontal, vertical or diagonal connect N?
Input: M = [0,0,0,2,0,0,0;0,0,0,2,0,1,0;0,2,0,1,1,2,0;0,1,2,1,1,1,0;1,2,1,2,2,2,0;2,2,1,2,2,1,2] Visualization of input: ----...
quasi 5 anni fa | 0 risposte | 0
0
risposteWhy does it only detect diagonal connect 4s (Ns) in this direction ↖, but not in this direction ↗ ?
bump
quasi 5 anni fa | 0
Domanda
Why does it only detect diagonal connect 4s (Ns) in this direction ↖, but not in this direction ↗ ?
Why does it only detect diagonal connect 4s (Ns) in this direction ↖, but not in this direction ↗ ? My function function victo...
quasi 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Why is is the following function only detecting diagonal functions that that start top left and end bottom right?
Why is is the following function only detecting diagonal functions that that start top left and end bottom right ( \ ) and doesn...
quasi 5 anni fa | 0 risposte | 0
0
risposteDomanda
How do I make it calculate the variable maxK inbetween both input arguments?
How do I make it calculate the variable maxK in between both input arguments: clear; close all; clc; N = input('Gamemode [...
quasi 5 anni fa | 2 risposte | 0
2
risposteDomanda
Printing matrix to display error message, why?
Can someone tell me why this error occurs please? Input M = 0 0 0 0 0 0 0 2 1 1 0 ...
quasi 5 anni fa | 2 risposte | 0
2
risposteDomanda
Connect 4 Initializing the board
Worked on / edited the code (this is what I came up with so far, don't know how to put it into code though): clear; close all;...
quasi 5 anni fa | 2 risposte | 0
2
risposteDomanda
Check if connect 4 occurs in matrix
Could someone help me with a code to check if there is a Connect 4 in the following matrix: 0 0 0 0 0 0 0 0 = empty 0 0...
quasi 5 anni fa | 2 risposte | 0