Question

Index in position 2 must be positive or logical value error?

I am about to pull my hair out. Why is this giving me an error. I checked my math about nine times and its fine. Either I am ins...

10 mois il y a | 2 réponses | 0

Question

How to place a specific pixel in a specific coordinate

So I have a lot of colored pixels information (a picture that is 3072 by 4096 by 3), and also have an X, Y, and Z coordinate tha...

10 mois il y a | 2 réponses | 0

Question

Two functions with the same name?

So I downloaded the MAAT library which has a function named "fitsread", but after I went to the documentation of the MATLAB pack...

10 mois il y a | 2 réponses | 0

Question

Reading FITS files doesn't work

For some reason I can't read this FITS file...or any FITS files. I keep getting an error that says index out of range. And when ...

10 mois il y a | 1 réponse | 0

Question

Reading complicated CSV file

Hey guys. So I attached the CSV am having trouble reading. I tried using fileread and I got a weird format that ended up horribl...

10 mois il y a | 2 réponses | 0

Question

3D Plotting with symbolic variables

I want to 3D plot the T_AP_C1, T_AP_C2, T_AP_C3 varibales using a 3D plot with "mv" on the x-axis, "T_C" on the y-axis, and "T_A...

12 mois il y a | 1 réponse | 0

Question

Calling a function inside an integration

So I posted a snipet of my code below. The issue I am having here is regarding how to syntax my code correctly in the integratio...

environ un an il y a | 1 réponse | 0

Question

Can someone help me with this integration

In addition to getting an error in this, what I want to essentially do is replace f1(1, i) in the integ2 variable, but I keep ge...

environ un an il y a | 2 réponses | 0

Question

Integral "int" function not evaluating

Why is the "int" function not evaluating my integral? The "r" variable still has the "int" in it. clear clc theta_s = 0:0.5:p...

environ un an il y a | 1 réponse | 0

Question

How plot an accurate Earth (Globe)

I want to plot my orbit of a satellite which I already have the X, Y, Z coordinates for. But I want to plot the orbit and at the...

plus d'un an il y a | 1 réponse | 0

Question

How to extract numbers in a string?

So I have a huge table (672 elements) and each cell has a string that involves a number and some letters at the end with a varia...

plus d'un an il y a | 1 réponse | 0

Question

How to know the value of my point on the colorbar?

So I have a complicated 3D plot with a colorbar. The colorbar gives me an indication what the temperature is like in a certain r...

plus d'un an il y a | 1 réponse | 0

Question

How to plot four dimensional data?

I have a variable 'n' that is 1 by 81, 'm' that is 1 by 81, and 'o' that is 1 by 81. And the function 'f' that is 81 by 81 by 81...

plus d'un an il y a | 1 réponse | 0

Question

How plot 4D data?

Lets say that I have the following data and I would like to plot the function f that is dependent on x, y, and z, In other words...

plus d'un an il y a | 1 réponse | 0

Question

How can I make MATLAB shade the area of the virtual intersection between two lines?

The below code will plot a figure of two lines (red and blue) and few dashed lines to help you visualize what I am talking about...

plus d'un an il y a | 2 réponses | 0

Question

Inverse laplace and limits

How can I find the limit as t goes to infinity of the inverse laplace function (A)? Code Below syms s G = (14*s^2+32)/(s*(s^...

plus de 2 ans il y a | 1 réponse | 0

Question

Simulink Electrical Op Amps

So I am trying to simulate a circuit I am required to. This is my first time using simulink electrical package and I am trying t...

plus de 2 ans il y a | 1 réponse | 0

Question

Can someone help me with ODE45 function

I have the differential equation in the attached pdf. I would like to change into state variable form so I can use ODE45 to numr...

plus de 2 ans il y a | 2 réponses | 0