![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13835743_1539261465032_DEF.jpg)
aara
Followers: 0 Following: 0
Statistica
RANK
2.229
of 297.016
REPUTAZIONE
28
CONTRIBUTI
0 Domande
9 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
4
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
write statement without using for loop
use if condition? if bi = 0 gi == alpha; else gi == beta; end
circa 6 anni fa | 0
For Loop is only running once
the size function returns a vector [1 41] which is why the loop only runs once. Use: for ii = 1:max(size(M));
circa 6 anni fa | 2
| accettato
Function to find solutions to Ax=b
You must consider when the matrix A has more columns than elements (n>m). From lines 12 to 15 (shown below) would use col_i for ...
circa 6 anni fa | 0
How can I use for loop to input values when solving ODEs using ode45?
You have to define the initial and final time for the ode45 function rather than just typing t, use [t0 tf]. I suggest editting...
circa 6 anni fa | 0
| accettato
Optimizing for a function output with multiple variables having different ranges.
Hi, a for loop would be very useful, you could use it to cycle through all the datapoints you want: %define T1, T2, P1,P2 Range...
circa 6 anni fa | 0
| accettato
Select certain percentage of a plot
You can use a for loop add all the totals together incrementally and check when its above your desired value: x = 1:20; y = [0...
circa 6 anni fa | 0
Optimize code using loop
Check the comments within the code: clc; clear all; close all; Tc = 369.8; % Propan critical Temp in K funPr = @(Vr...
circa 6 anni fa | 1
| accettato
Subtracting 1 matrix from several columns in a larger matrix
You could form a similar sized matrix of zeros, place the desired values which you wish to subtract from the original data and t...
circa 6 anni fa | 0
How do you print an anonymous function properly in a figure title?
You could do it by manipulating the equation of the function alone and then adding it to the remaining text: f=@(x) x.^2 x_coo...
circa 6 anni fa | 1
| accettato