photo

aara


Aktiv seit 2019

Followers: 0   Following: 0

Statistik

All
MATLAB Answers

0 Fragen
9 Antworten

Cody

0 Probleme
2 Lösungen

RANG
2.282
of 300.759

REPUTATION
28

BEITRÄGE
0 Fragen
9 Antworten

ANTWORTZUSTIMMUNG
0.00%

ERHALTENE STIMMEN
4

RANG
 of 21.081

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
95.055
of 170.900

BEITRÄGE
0 Probleme
2 Lösungen

PUNKTESTAND
30

ANZAHL DER ABZEICHEN
1

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Knowledgeable Level 2
  • Solver
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
write statement without using for loop
use if condition? if bi = 0 gi == alpha; else gi == beta; end

fast 7 Jahre vor | 0

Beantwortet
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));

fast 7 Jahre vor | 2

| akzeptiert

Beantwortet
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 ...

fast 7 Jahre vor | 0

Beantwortet
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...

fast 7 Jahre vor | 0

| akzeptiert

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...

fast 7 Jahre vor

Beantwortet
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...

fast 7 Jahre vor | 0

| akzeptiert

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:...

fast 7 Jahre vor

Beantwortet
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...

fast 7 Jahre vor | 0

Beantwortet
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...

fast 7 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 7 Jahre vor | 0

Beantwortet
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...

fast 7 Jahre vor | 1

| akzeptiert