질문


How can I make MATLAB recognize multiples?
I am trying to write line(s) of code that can recognize if a given number is an integer multiple of another given number. For ex...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


how can I tell MATLAB to add a NaN if the size of concatenation is not consistent?
Lets say I have two matrices: A = [2,2;3;3] and B = [4,4,4;5,5,5] I was trying to concatnate them by doing: C = [A; B] But MAT...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


Using Simulink from .m file
I have my whole code written in a gigantic .m file. In a certain process I am doing in my code, I want to call this block (shown...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


Time-based integration of ODEs
Hello everyone. I have a problem that I hope I can get some help on. So I have the following set of differential equations: ...

거의 2년 전 | 답변 수: 1 | 0

1

답변

답변 있음
closest value to zero excluding the first one?
"dis_y" being the variable: I = find(diff(dis_y>=0),1);

거의 2년 전 | 0

| 수락됨

질문


closest value to zero excluding the first one?
If given a long vector of values. How can I find the index of the closest value to zero excluding the first value of the vector ...

거의 2년 전 | 답변 수: 3 | 0

3

답변

질문


Is there a way to visualize this data?
I have a 1 by 10000 variable, a 1 by 60 variable, and a 1 by 1491 variable, is there a way to visualize and plot this in a 3D gr...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


How to answer a call for an input from the script?
So I used the system('run.bat') in my script to run a series of commands that will ask certain questions. I want to code the ans...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


Non-linear Multi-Variable Fitting
So I have lots of data (about 1000 points) and I want to fit this data in terms of six varbales: F(x,y,z,u,v,w). Is this possibl...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


Why am I getting an error on this?
Why am I getting an error that says "Not enough input arguments." function dydx = funct(x, y, z) a = 1; b = 2; c...

거의 2년 전 | 답변 수: 0 | 0

0

답변

질문


Efficient way to solve an equation in MATLAB
I have a nested for loop system that will run 251658240...you heard me correctly. There isn't much in this for loop that is time...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


How to georeference in MATLAB?
So guys I have a map as given in the google drive link (too big to attach here): https://drive.google.com/file/d/1XzeM835pHCJQ3h...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


How would I convert years to date time?
I have many values given in years. How would I convert them to a date and time in UTC? For example, one of the values I have is ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How would I detect gray/white pixels in a picture?
I am trying to write a function to detect white-like and gray-like pixels in a given colored picture. I am stuck on how to go ab...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Robinson map projection?
I have a map of Earth in the cylindrical projection that has all the planet's data (longitude: -180 to 180 degrees, latitude: -9...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Is Pixel Interpolation possible in MATLAB? If so, how?
Hey guys. So I have a picture, but unfortunately, some pixels in it are completely black (the RGB values are 0,0,0). For those s...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How do I put my values in certain bins and retrieve the values from the highest count bin
I have been trying to do this for a while and failed, am hopping to get some guidance. So I have a 3D variable called Zo, its 36...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Can you specifiy an action when MATLAB throws an error
I am working on a very complex project (code) with limited memory on my laptop. There is a gigantic variable in my for loop that...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


What is an efficient way of finding the maximum value under a certain limit?
Can you guys throw few lines my way that will help me find the maximum value under a certain threshold in a matrix? Lets say I h...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why does MATLAB play with the contrast of my image after saving it?
I have a very weird problem that I hope someone can help me with. So Attached are two pictures of almost the exact same location...

2년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How do you rotate an ellispoid?
So I have an ellispoid plotted in MATLAB. And I want to make an animation of this ellipsoid being rotated around its center with...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to take the mean of each four adjacent position in a matrix?
So I have this matrix variable that I attached here. Its 1536 by 2048, and I want to reduce it to 768 by 1024 by taking the mean...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to find the indices of the closest value in two non-equal sized matrices?
I have two matrices with random numbers. One is 768 by 1024 (matrix A) and the other is 1536 by 2048 (matrix B). I want to devel...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

2년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

더 보기