photo

Ruten9


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

MATLAB Answers

14 Fragen
0 Antworten

RANG
156.259
of 300.771

REPUTATION
0

BEITRÄGE
14 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
14.29%

ERHALTENE STIMMEN
0

RANG
 of 21.084

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 170.969

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 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Why do I keep getting an infinity loop when I try to implement the Jacobi method?
I derived B from this linear system: 1a - 1b + 2c= 8 1a + 1b + 2c = 10 1a + 0b + 1c = 2 clear all;clc; c...

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How would this matrix look like?
Consider the following 3 × 4 matrix with ijth matrix element: A(i, j) = i + j , 1 ≤ i ≤ 3 , 1 ≤ j ≤ 4

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I find the iteration error? The norm function is giving me a dimension error.
%% Part A clear all;clc; % 4x1 + 2x2 + x3 = 11 % -x1 + 2x2 = 3 % 2x1 + x2 + 4x3 = 16 a= [4 2 1;-1 2 0;2 1 4]; ...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Did I set the problem correctly?
https://gyazo.com/a6c00ee08cdd03c313b4be970d361ac0 This is my code: clear all;clc; N=1; SI= exp(-1.*N); tol = 10....

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How do I open a new file for writing?
I've already created the code needed for this part: %Part A clear all; clc; tempdata = fopen('rec0506a.dat','r') ; ...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can store the values of this forever-while loop?
clear all;clc; N=1; SI= exp(-1.*N); tol = 10.^(-1.*10); y = zeros(1,24)'; while 1, SI= exp(-1.*N); ...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I make my table aligned?
When I run this code: %Part A (matrix G) clear all; clc; %type rec0506c.dat %displays content in file grades = f...

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I make the spacing in a table more consistent? Also, how could i rearrange the table's names to match the one in part 2d?
%Part A (matrix G) clear all; clc; type rec0506c.dat %displays content in file grades = fopen('rec0506c.dat','r'); ...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How would I create a loop that ensures that all negative values of my function turn into zero?
%% Problem 2 %Part A clear all; clc; t = 0:.01:35; h = height(t) %Part C (maxima) [xpsudeomax,ymax] = max(h(...

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I deal with function handle errors? I need the graph to produce a flat line after it touches the horizontal axis.
%Part A clear all; clc; t = 0:.01:35; h = height(t) %Part C (maxima)---I swapped the order for the plo...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I deal with this function handel error?
my height file: function h = height(t) h = @(t) ((-9.8).*(2.^(-1))).*(t.^2) + 125.*t + 500; h(h<0) = 0; i...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I make a flat,horizontal line appear in Matlab when my values are less than zero?
clear all; clc; t = 0:.01:35; h = height(t) %Part C (maxima)---I swapped the order for the plotting %max funct...

etwa 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I get MATLAB to output a part of a dat file the proper way?
I want my output to come out exactly as shown in the attached picture. How can I do this? This is my code: clear all; ...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Should the max function and the fminbnd function produce the same result? Also, is there something wrong with my MATLAB syntax?
this is my code guys. my height.m file is: function [h] = height(t) h = @(t) ((-9.8).*(2.^(-1))).*(t.^2) + 125.*t + 500; ...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort