photo

Mohsen


McGill University

Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

MATLAB Answers

14 Fragen
6 Antworten

RANG
23.514
of 298.615

REPUTATION
1

BEITRÄGE
14 Fragen
6 Antworten

ANTWORTZUSTIMMUNG
42.86%

ERHALTENE STIMMEN
1

RANG
 of 20.624

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 161.826

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

  • First Review
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How to use "hold on" for multiple datasets on the same graph?
I found it: for j=totPatient_PlanNum should be changed to for j=1:totPatient_PlanNum

etwa 11 Jahre vor | 0

| akzeptiert

Frage


How to use "hold on" for multiple datasets on the same graph?
Hi, I am trying to plot 5 different datasets for 3 patients (15 lines in total) on the same graph. The Y value for each line ...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
How to mirror a function vertically?
close all; clear all; clc; depth=[ 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.6 1.8 2 2.2 2.4 2.6 2.7 2....

etwa 11 Jahre vor | 0

| akzeptiert

Frage


How to mirror a function vertically?
I have a function *with non equal step size* in the x axis. How can I mirror it vertically? Here is my code: close all; c...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
EASY Question: How to find an element of a matrix?
I found another answer myself: depth=depth(1:find(depth==7))

etwa 11 Jahre vor | 0

Frage


EASY Question: How to find an element of a matrix?
Let's A = [1 2 3 4 5 6 7 8 9 10]; I want to have new matrix B, which is A from 1 to 7. I tried the following: B=A(1:A(A=7...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


VERY simple question about adding 2 matrices
Matrix A and B have the same size: 512 x 512 x 105. I want each element of matrix A to be equal to the corresponding element ...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Speeding up IF-FOR loop
How can I optimize this code so that it runs faster: iNZ=11; iNCUr=55; UrPointX=zeros(iNCUr); UrPointY=zeros(iNCUr); Ur...

fast 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Optimization of a simple IF-FOR loop
How can I optimize the following code so that it runs faster? for i=1:iNZ; iPointsinSlice=1; ...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Simple Question about Optimization of Nested IF-FOR loops
Does any one know how to optimize this code so that it runs faster: for i=1:iNZ; if iPointsinSlice>0; ...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Simple Question about Optimization of Nested IF-FOR loops
This code doesn't give me the same result as my initial code. Please note that the purpose of "m+(l-1)*iNX+i*iNX*iNY" is to res...

fast 12 Jahre vor | 0

Frage


Simple Question about Optimization of Nested IF-FOR loops
Does any one know how to optimize this code so that it runs faster: for i=1:iNZ; if iPointsinSlice>0; ...

fast 12 Jahre vor | 5 Antworten | 0

5

Antworten

Beantwortet
Simple Question about Optimization of Nested FOR loops
The code that you have provided doesn't seem to work. Does any one know how to optimize this code: for i=1:iNZ; ...

fast 12 Jahre vor | 0

Frage


Simple Question about Optimization of a FOR loop
How can I optimize (vectorize?) the following code in order to avoid the for loop and make the code to run faster? for i=...

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Simpl equestion about CUMSUM
Thanks a lot Kye Taylor !

fast 12 Jahre vor | 0

Frage


Simple Question about Optimization of Nested FOR loops
How can I optimize the following code in order to avoid the FOR loops so that it runs faster? for i=1:X; ...

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Simpl equestion about CUMSUM
How can I rewrite the following code using cumsum? for i=0:299 A(i+1)=sum(B > i); end Many thanks!

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Square Pulse Generator with Varying Amplitude
I am modeling a system using Simulink. I need to make the input of the system a series of pulses (non periodic). Each pulse has...

fast 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to solve the Riccati equation symbolically?
The goal of my project is to use optimal control theory to find the optimal input in order to maximize two of the outputs (x1)...

fast 14 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


How to implement Optimal Control on a Nonlinear Dynamic Single-Input Multiple-Output (SIMO) System?
Hi, I have modeled a Nonlinear Dynamic Single-Input Multiple-Output System (SIMO) using Simulink. The input (U) is a pulse gen...

fast 14 Jahre vor | 0 Antworten | 0

0

Antworten