Community Profile

photo

Nisar Ahmed


Last seen: 5 months 前 自 2020 起处于活动状态

Followers: 0   Following: 0

统计数据

  • Thankful Level 5

查看徽章

Feeds

排序方式:

提问


How to edit .fig (already saved image) in MATLAB?
Hi, I have .fig files and loaded in MATLAB by using openfig as shown in below figure. I want to edit these .fig files, for exa...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to save a high resolution image in MTALB?
Hi I want to save my images in MATLAB with minimum 300DPI roslution. Following is my figure code (below) and when I try to save...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to perform these matrix calculations?
Hi, Q1: I have matriz z of size (101 97) and I want substract e.g., first row from second, then second from 3rd row and 3rd fro...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to grid ride of constant values of data in plotting?
Hi, I have attached my data and plotting a figure by using following code: T= ones(size(Vp_time,1),1)*time'; X_dir=squeeze(X...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to make subplots from following code?
Hi I am using following way to subplot my figures but it is not working. How can I subplot my figures: figure; subplot(121); ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Resizing a Matrix in MATLAB?
Hi, Q.1: I have a matrix A of size 106 1 100. and after A = squeeze(A), the size is 106 100. Suppose I want unsqueeze A again t...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to write a code for an equation in such a way that it add previous results repetitively?
Hi I want calculate distance between to points as: X1 = X(1:end-1); X2 = X(2:end); Y1 = Y(1:end-1); Y2 = Y(2:end); xi = 5...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to save a data in another folder?
Hello, I have a folder name BSL_results and want to save following results into that that folder each time I run a code: The ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to add a constant value above a matrix in following code?
Hello P is a matrix of 100 106 and I am trying to add 20 constant values (say 0.25) above each row and 20 constant values (say ...

1 year 前 | 2 个回答 | 0

2

个回答

提问


How to add constant values above and below of each columns of a matrix?
Hello, I have a matrix say VP of size 100 * 106 and I want to add 50 constant values above and 50 values belowhis matrix (50 va...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How plot data as histograms?
I have following data as: [numb] = xlsread('NorskPetroleum.xlsx'); Years = numb(:,1); Oil = numb(:,2); condensate= numb(:...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How can I put a loop here?
Hi, Here is my code below, I want to compute and plot (del2,del) for each value of V. How can I make a loop here? V = [0.5...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Can I make a plot (colormap) like this?
Can I plot like this, any function or package plz? imagesc([1:ntr], Time(:,1), PhiTime) colorbar; ylabel('Time (s)');set(g...

1 year 前 | 0 个回答 | 0

0

个回答

提问


Error using horzcat Dimensions of arrays being concatenated are not consistent.
Hi, Please help me to solve this error? If I write my code for a single array, it works well. The code is VD = depth; rho = R...

1 year 前 | 2 个回答 | 0

2

个回答

提问


How to re-scale a part of 2D matrix?
Hi Suppose Pe_OPT is a matrix of size 115 200 and I want to rescale the part between VD>1901&VD<1919. VD is vertical axist of ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to solve 'Error using image Complex values are not supported. Specify the color data as numeric or logical values.'
Hi I have attached my data S_OPT.mat having size SW_OPT (115 200) and VD (115 1); The problem is some array in SW_OPT are com...

1 year 前 | 1 个回答 | 0

1

个回答

已回答
How to plot colorbar and plot size different?
@Star Strider Here is my code to obtain Prob_vp0, Prob_vs0, Prob_rho0.....and are plotted against VD as: x2 = [1500:50:6000]'; ...

1 year 前 | 0

提问


How to plot colorbar and plot size different?
Hi When I plot colorbar, it reduces the size of my actual plot. I have 5 subplot and each has a separate colorbar. How to fix ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to plot the 10th and 90th percentiles of the predictions?
Hi, I have attached a data having a (size of a is 115 75) and want to plot the 10th and 90th percentiles of the predictions. Ho...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to save all the simulated iterations (output of loop) togather?
Hi, This is my code and each and five out parameters are vp0, vs0, rh0, qp0, qs0 each of size (115*50). I want to save out pu...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to solve this issue?
Hi, I have 100 initial models say length of 115 each, and after running simulation I created 100 new models. I am running simul...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to make data of equal array length?
Hi, I have following data and how I can make FD and AD of equal size of N? FD = 0:0.225399; AD = 0:0.004045; N = 1:1:115;

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to fix a shift issue after taking hamonic mean?
Hi everyone, In the figure below, the red curve (Mdry) is the harmonic average of blue curve Md by using moving mean of 4 value...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to compute harmonic average on the blocks of an array?
Hi, I have attached the data Mmin, I want to compute the harmonic average of first 4 values and then next 4 and so on. In short...

1 year 前 | 1 个回答 | 0

1

个回答

提问


How to make colorbar maximum limits smae/uniform?
Hi everyone, I hope you are doing well. Attached is a figure and lesft size colorbar has max limit around 2.6 while right si...

2 years 前 | 0 个回答 | 0

0

个回答

提问


How to change the sign of some particular values in an array/matrix?
Hi, I have some positive and -ve values in the curve below (data is also attached). How can I setup my code in such a way tha...

2 years 前 | 1 个回答 | 0

1

个回答

提问


How to apply moving harmonic average on an array?
Hi, I have attached the data Kd_i = (115*1), I want to keep first and last values as it is in the data (or also shown in the f...

2 years 前 | 3 个回答 | 0

3

个回答

提问


How to put a condition for equations in the computation
Hi I have attached a data 'al' varies from say 0.05 to 0.32. I want calculate d from al, but there are two equations for the d...

2 years 前 | 1 个回答 | 0

1

个回答

提问


How I can adjust this x axis label incase of very small values of plot?
Hi, Due to small range of x axis values, the label is appearing as shown in the figure below. I have also attached the data. ...

2 years 前 | 2 个回答 | 0

2

个回答

已回答
How to plot a best fit curve to my data points?
@Alex Sha thank you for you answer, I am sorry I did not understand, do you mean, I need to compute f(x) = p1 + p2.*x + p3*x.^...

2 years 前 | 0

加载更多