Community Profile # Jamie Al

Last seen: Today Active since 2020

#### Statistics

• #### Content Feed

View by

Question

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

17 days ago | 3 answers | 0

### 3

Question

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

1 month ago | 1 answer | 0

### 1

Question

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 months ago | 1 answer | 0

### 1

Question

while loop results in NANs
I am solving non-linear poisson's equation iteratively using a mixed spectral method. The last iteration results in a NAN, I tra...

3 months ago | 0 answers | 0

### 0

Question

Iterative solver error: Index in position 2 exceeds array bounds
I am trying to solve a non-linear poisson equation iteratively and getting an error at the while loop. The code: Nx = 64; ...

3 months ago | 0 answers | 0

### 0

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

3 months ago | 0

| accepted

Question

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

3 months ago | 1 answer | 0

### 1

Question

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

3 months ago | 1 answer | 0

### 1

Question

How to write Laplacian operator. Error: "Matrix dimensions must agree."
I am solving a 2D linear Poisson's equation. When taking first and second derivatives of my function I get correct results howev...

3 months ago | 0 answers | 0

### 0

Question

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

6 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 2 answers | 0

### 2

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

10 months ago | 0

| accepted

Question

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

10 months ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 2 answers | 0

### 2

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Warning: Imaginary parts of complex X and/or Y arguments ignored.
Thanks, but I found the error was a negative sign in a rooted term that needed an abs function to solve it.

1 year ago | 0

| accepted

Question

Warning: Imaginary parts of complex X and/or Y arguments ignored.
I keep getting this error messgae when plotting some quantaties. My code points out that U_T is a cmplex double which is not tr...

1 year ago | 1 answer | 0

### 1

Question

Root finder solver for cubic equation
I have the following cubic equation in beta, knowing gamma, theta and M1 how can I find the roots of beta using MATLAB? for...

1 year ago | 1 answer | 0

### 1

Question

How to fit an exponential curve? error: Dimensions of arrays being concatenated are not consistent
Hello, I have an energy plot that I would like to fit an exponential curve to. I have something like this numSteps = 5000; x...

1 year ago | 1 answer | 0

### 1

Question

Array indices must be positive integers or logical values.
I am so confused why would I get this error. One minute the code is running fine and produces plots, the next is no longer runni...

1 year ago | 1 answer | 0

### 1

Question

Index exceeds the number of array elements (101)
I keep getting this error for a function I wrote. Not quiet sure what it really means since I think the sizes of xe and xb are c...

1 year ago | 1 answer | 0
{"ft_lang_label":"__label__en","ft_lang_prob":0.8642562,"math_prob":0.42916018,"size":7307,"snap":"2022-27-2022-33","text_gpt3_token_len":1934,"char_repetition_ratio":0.16979323,"word_repetition_ratio":0.19166057,"special_character_ratio":0.26727796,"punctuation_ratio":0.12508187,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98097944,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-06T14:27:34Z\",\"WARC-Record-ID\":\"<urn:uuid:6febe387-cf49-408f-9088-511ee40a3487>\",\"Content-Length\":\"105570\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:df8135b1-71d4-448d-982a-340f98f568a1>\",\"WARC-Concurrent-To\":\"<urn:uuid:39174d69-5644-40e0-b0fb-ef85045277ff>\",\"WARC-IP-Address\":\"104.68.243.15\",\"WARC-Target-URI\":\"https://in.mathworks.com/matlabcentral/profile/authors/12080112\",\"WARC-Payload-Digest\":\"sha1:BVIWAC5QUDQ3AHIC5I5J24WGAC4YTN4R\",\"WARC-Block-Digest\":\"sha1:PBPAN63PCNVN72RKOYJQO7GC2ZUYGMLL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104672585.89_warc_CC-MAIN-20220706121103-20220706151103-00570.warc.gz\"}"}