photo

Steven Gangano


Last seen: mehr als 3 Jahre vor Aktiv seit 2022

Followers: 0   Following: 0

Statistik

MATLAB Answers

7 Fragen
0 Antworten

RANG
206.933
of 300.343

REPUTATION
0

BEITRÄGE
7 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
28.57%

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

of 168.172

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Highlights

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How do I create a nested for loop to find consecutive numbers in a matrix? See example below.
A = [0 1 0 0 1 0 0 1 0 0 0 0 1 0 1 0 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 0 1 1 0 1 1 0 0 1 ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Given a matrix, how can I slice a matrix given the input parameters are the number of rows and number of columns? See example.
function [result3Dmatrix] = imgCut(origImgMatrix, numRows, numCols ) For example if matrix is origImgMatrix = [2 4 6 8 ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I crop out a certain part within a matrix of numbers?
This example is a small matrix, but I would like to crop out part of this matrix. The part I want to crop out is: a(2,3:5) and ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I have 2 columns in a matrix. 1st column has the dates. 2nd column has the values. How do I grab all values from 2nd column associated with its date from the 1st column??
I have a much larger data set, but this is just a smaller sample size example of what I would like to do. I want to grab all va...

mehr als 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How do I double the size of a given matrix?
A = [ 1 2 3 4 ] I want to double the size of matrix A by adding a duplicate of row 1 underneath it. And also ad...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


A(I): index out of bounds; value 6 out of bound 5. How to fix this error?
%I'm trying to subtract the 2nd element from the 1st element %The answer should be: 4-2=2, 6-4=2, 8-6=2, 10-8=2 a = [2:2:10];...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to access the 3rd element in a for loop?
investment = 1000; interestRate = 0.01; months =[1:12]; for month = months investment = investment * (1 + interestRate);...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten