photo

Porgs


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Why do I get an error on line 17?
clc deviation = (1) .^ 0.5; n = deviation .* randn(100000, 1); % noise t = [-5: 0.01: 4.99]; % time p = 5 .* sin(...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Why is the mean function not working?
clc x=randn(1,100000); y=randn(1,100000); Za=x+10; [f,x]=hist(Za,100); %Simulated PDF bar(x,f/trapz(x,f))...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to display error using error function?
Ok thanks

mehr als 6 Jahre vor | 0

Beantwortet
How to display error using error function?
Where would I put that in my code because I'm getting an error message when I'm trying to use this.

mehr als 6 Jahre vor | 0

Frage


How to display error using error function?
I have a program that computes thermal conductivity based on an input of a certain alloy and temperature. I would like to have t...

mehr als 6 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


How to display an error in an input for my function?
I have a function that calculates thermal conductivity, and I want to have the function display an error if the user inputs the ...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Have a function take a string and an number as an input?
I am trying to create a function that can take a name of an alloy of metal and a temperature and calculate the thermal conductiv...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why am I getting this error "Operands to the || and && operators must be convertible to logical scalar values."
function ThCond alloy = input('Enter the type of metal alloy:', 's'); T = input('Enter temperature(K) to calcu...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Why am I getting this error, "Subscript indices must either be real positive integers or logicals."
Thank you that was the problem.

mehr als 6 Jahre vor | 0

Beantwortet
Linear Combination of 3 matrices.
I'm trying to prove that one given matrix is the linear combination of 3 other matrices.

mehr als 6 Jahre vor | 0

Frage


Why am I getting this error, "Subscript indices must either be real positive integers or logicals."
% This code worked the last time I ran it but now I get an error message. Why is this? t = [-2: .001: 1.999...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Linear Combination of 3 matrices.
How do you compute the linear combination of 3 (1x3) matrices.

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Why do I get Error: File: exercise_1_b.m Line: 8 Column: 28 Unexpected MATLAB operator.
I get this error Error: File: exercise_1_b.m Line: 8 Column: 28 Unexpected MATLAB operator. this is my code t ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Why do I get Error using * Inner matrix dimensions must agree.
This is my code. t = [-4: 0.01: 3.99]; A_c = 1; f_c = 50; m_t = sinc(2 * (t - 2)) - sinc(2 * (t + 2)); k_a = in...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort