Community Profile

photo

Jamie Al


Last seen: 대략 1년 전 2020년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 4

배지 보기

Feeds

보기 기준

질문


Using fsolve: how to plot fit curve/function to data?
I have some data that I am trying to show that it follows a function (I have the functional form of and solving for here using f...

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

0

답변

질문


How to reduce space between plots in subplot?
How can I reduce the space between my plots? Here's my code: Lx = 640; Ly = 640; Lz = 640; E3d=(readmatrix('...txt')); E2d=...

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

1

답변

질문


colorbar scale is not correct when using isosurface and patch plots
Why is the color bar here giving me the values of the transparency "alpha" and not my data values that I am plotting? Code: Nx...

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

1

답변

질문


Error using Spherical harmonics: Array dimensions must match for binary array op.
I am trying to use the spherical harmonics to represnet a perturbation of a spherical object in an acoustic and fluid flow in 3D...

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

1

답변

질문


Error: "filename" must be a string scalar or character vector.
I am trying to sort of creat an animation of a bunch of text files. The thing is, these text files are techically 3D matrices co...

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

2

답변

질문


How to save and read a 3D matrix in MATLAB?
I am sort of confused how to go about this issue. I am trying to write a function in C++ that saves a 3D matrix in a text file a...

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

2

답변

질문


How to make color plots in 3D?
I am using isosurface to create 3D plots, but the colors aren't what I want. I have two examples with 2D plots with nice colorma...

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

1

답변

질문


How to print a 3D matrix to a text file?
How can I save the following 3D matrix in a text file using MATLAB? Nx = 4; Ny = 4; Nz = 4; x = (0:Nx-1)/Nx*2*pi; ...

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

1

답변

질문


Error: Edge vector must be monotonically non-decreasin with isosurface
I have the following code where I am taking 3D FFT for 3D matrix and comparing its derivatives to the "exact" values, but I am g...

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

1

답변

질문


how to plot a circle in MATLAB with inner concentric circles?
How can I create this following plot, the black circle showing the Northern polar view with the magnetic local times (MLT) and c...

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

1

답변

질문


What is the difference between backward slash vs forward slash in MATLAB?
I have a failry simple question in MATLAB. What s the difference between the backslash operator vs the forward slash operator. F...

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

3

답변

질문


How to save 3D data in text file?
I am trying to print my 3D data in a text file so I can perform some postprocessing. The form of my 3D data is the following: %...

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

1

답변

질문


performing linear regression fits using cftool based on data points
I want to use the MATLAB curve fitting tools (cftool) to prediction intervals (compute 95% prediction intervals about th linear ...

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

1

답변

답변 있음
I am getting Error: Error using * Arguments must be 2-D, or at least one argument must be scalar.
So I was able to resolve this issue, by indexing in a very specific way: [X,Z,Y] = meshgrid(x,zgl,y); %now this is a Z-by-X-by-...

대략 2년 전 | 0

| 수락됨

질문


I am getting Error: Error using * Arguments must be 2-D, or at least one argument must be scalar.
I have a 3D function where I am testing taking derivative along x,y, and z direction. My issue is that taking derivative wrt z i...

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

1

답변

질문


How to take fft along a specific direction?
I have this function that's periodic in x but non-periodic in y and I was able to perform fft along the periodic direction in th...

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

1

답변

질문


Animation using multiple frames/figures in for loop
I have the for loop that plots different frames of data, but I am trying to update all my frames in one figure to create an anim...

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

1

답변

질문


Movie function with subplots: error "Unrecognized method, property..."
I am trying to create an animation for different data frames, I keep getting the error: Unrecognized method, property, or field...

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

1

답변

질문


How to create animation of multiple of frames using for loop ?
I have the following code that plots text file data. However, here I chose few text files to represent and plot. I would like to...

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

1

답변

질문


Why am I getting: "invalid syntax at "(" .A might be missing a closing ")"
What is messing here?? source = ((-4*A^2*alpha)-(9*B^2*alpha))*(cos^2( (2*A) * XX).* sin^2( (3*B) * YY))... -( (5/2)*4...

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

2

답변

답변 있음
How to load two text files and find the difference between them?
The answer is as stated by Ive J!

2년 초과 전 | 0

| 수락됨

질문


How to load two text files and find the difference between them?
I have some text files with numerical data basically bunch of numbers that I am trying to compare between the two. I wanna subtr...

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

1

답변

질문


Why do I get "complex" arrays?
I am not supposed to get complex values but unfortunatley something is wrong in my eigenvalue caclultions. When plotting I get t...

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

1

답변

질문


Why Do I keep getting NaNs in my code???
I have posted the full code but I generally do not umderstand why??

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

1

답변

질문


How to save part of the data in text file?
I have the following plots at different time steps, I would like to save the data at the last time step in a text file. How can ...

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

1

답변

질문


Help indexing: How to index at the interfaces of cells and not the cells
I am struggling to understand how to setup some indexing problem in MATLAB. If my entire domain is defined from 1 to N with a pa...

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

2

답변

질문


Unable to perform assignment because the size of the left side is 8-by-1 and the size of the right side is 8-by-1001.
I am getting this error where I am sure the size of the left-side = the right side in this code, what else can be causing this p...

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

1

답변

질문


Plot error: Index exceeds the number of array elements (104).
I am having the following error with plotting : Index exceeds the number of array elements (104). Error in MUSCL_main (line ...

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

1

답변

질문


Error: Not enough input arguments
I have the following error in my Runge-Kutta (4 stage) function: Not enough input arguments. Error in RK4 for j = 2:N-1 % E...

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

1

답변

질문


Index in position 2 exceeds array bounds (must not exceed 1001)
I have the following code with the error: Index in position 2 exceeds array bounds (must not exceed 1001) my code dx = 0.001;...

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

1

답변

더 보기