Question

How to add user inputs in a script?

Hello everyone, I have to add a few inputs on a MATLAB code to convert it into a scrip to which I get the following window: ...

3 months ago | 1 answer | 0

Question

How can a copy a MATLAB code into word?

I need to make an script of 2 codes into Word but I don't knw how. Could someone help me please?

3 months ago | 1 answer | 0

Question

Why do I get this error?

Index in position 2 is invalid. Array indices must be positive integers or logical values. Error in Code2 (line 61) ...

3 months ago | 1 answer | 0

Question

How can I write ln in Matlab?

How can I write ln in this part of my code as I keep getting an error. Thank yon %Gaussian parameters M= (1+nc)/2; ...

3 months ago | 1 answer | 0

Question

How to calculate Mean number and Standard Derivation?

Hello everyone, I have to do a 2D Diffusion Equation model using the Explicit Finite Difference Method. To calculate the North ...

3 months ago | 1 answer | 0

Question

What value is 1.0000e-03 in normal numbers?

What value is 1.0000e-03 in normal numbers?

3 months ago | 1 answer | 0

Question

How can I plot this code?

clc close all clear all %Lenght of the plate ---------------------------------------------- lx= input ('Enter the desire v...

3 months ago | 1 answer | 0

Question

What does the space on the resultant graph mean?

Hello everyone. I have done 2 codes to demonstrate the 2D heat diffusion through an aluminium plate using the Explicit Finite Di...

3 months ago | 0 answers | 0

Question

What are the Initial Domain Conditions?

Hello. I have done 2 MATLAB codes but the question is asking me to explain the initial and boundary conditions implemented. Th...

3 months ago | 0 answers | 0

Question

How can I do a Matlab report?

We have to submit a Matlab (my worst module) assignment to show the heat transfer on a plate. However, I have the 2 codes almost...

3 months ago | 0 answers | 0

Question

How do I do a Matlab assignment (report)?

Hello there, I had to do 2 codes about heat transfer in a plate which I have almost done but from those 2 code I have to do a re...

3 months ago | 1 answer | 0

Question

Can someone help me to see where the error is please?

Error: File: AssignmentOmaira2.m Line: 17 Column: 15 Invalid expression. When calling a function or indexing a variable, use ...

3 months ago | 2 answers | 0

Question

How could I use display function for this?

Hello there, I am using Matlab but it is not my thing at all so I have minimal knowledge about it. I would like to display the r...

3 months ago | 2 answers | 0

Question

How can I recover Matlab files?

Hello everyone. My laptop crashed and my codes for an assignment were saved on AppData\Local\Temp\Temp1_heat_2d.zip\Assignment.m...

4 months ago | 1 answer | 0

Question

How to do a rem while loop?

Hello everyone. I need the h value to be an integer, I can't have decimals. Therefore, I think a while loop with the function re...

5 months ago | 1 answer | 0

Question

Help with while loop

I can't do this while loop properly, someone help me please?

5 months ago | 2 answers | 0

Question

Heat Transfer in a 2D plate using Explicit Finite Difference Method

I need to write a serie of for loops to calculate the temperature distribution along a 2Dimensional aluminium plate through time...

5 months ago | 1 answer | 0

Question

What while loop can be used here to stop Matlab giving me any reminder?

I don't want Matlab to give me any reminder resulsts in the hx or hy, just integer numbers. h= input('Enter the desire grid spa...

5 months ago | 1 answer | 0

Question

How to stop MATLAB from giving you a reminder or decirmals?

I want Matlab to stop giving me a reminder on this formula h= input('Enter the desire grid spacing:'); hx=(lx/h)+ 1; %NC hy...

5 months ago | 1 answer | 0

Question

How do I resolve this stability criterion question?

I really don't understand how to do this following steps: Ask the user to choose a time step, the code should prevent the stabil...

5 months ago | 1 answer | 0

Question

How to display the value of a function?

Hello everyone, I want to display the value of At on the command window, but not only the value but I want to see At= the result...

5 months ago | 2 answers | 0

Question

Infinite Loop with conditional statement if

Hello everyone. I am new to Matlab and I got a question that I have solved but I think it is wrong. It is supposed to be solve...

6 months ago | 2 answers | 0