Community Profile

photo

Namira


Last seen: ongeveer 4 jaar ago Active since 2016

Statistics

  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Question


Can't open nii image with MATLAb R2017a
I am using Matlab R2017a. I am trying to open nii image using thi sversion but i cannot open nii images with thiscommand load_n...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


Amplitude of square wave
I am using a sine wave a = A sin(2*pi*f*t) where A = 2. I made a square wave by adding the odd harmonics of sine wave. ...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


How to adjust the tick size of errorbar in a plot?
I have a linear fit figure where I want to control the tick size of the error bar. I want to reduce the length of the error bar....

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


gradient of the fit with uncertainty and R
I have a linear fit graph. I used polyfit to compute linear fit. <</matlabcentral/answers/uploaded_files/132393/untitled.png...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


calculate slope from linear fit data
I have this code to linear fit data x = 1:10; y1 = [1 5 7 8 9 15 16 12 18 20]; scatter(x,y1,'b','*') P ...

meer dan 5 jaar ago | 2 answers | 1

2

answers

Question


fig. file conversion
Hi all, I have 50+ .fig files in a folder. I want to convert all figures in pdf. Is there any command to convert all figures ...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Fill up peak by colour
Hi, I have a figure with multiple peaks. <</matlabcentral/answers/uploaded_files/126911/untitled.png>> I want to fill ...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


calculate FWHM and area of multiple peak
Hi, I have a graph that contains multiple peaks, I want to calculate the area of the peak and FWHM of each peak. I want to use t...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


How to change the thickness of lines in imagesc plot?
<</matlabcentral/answers/uploaded_files/123873/untitled.png>> I plotted this figure using command imagesc(fd,f,log10(P...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


axis control in Image plot
Hi, I am trying to understand image plot. When I run this example x = [1 5]; y = [1 5]; C = [0 2 4 6; 8 10 12 14; 1...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Search and Replace file
I have some 50+ conf files that I am working. I need to find and replace various variable for all these files. For example, I'd ...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


What is the relation between sampling frequency and frequency in a Sine wave function?
I am trying to plot sine wave. I have this code Fs = 1000; t = linspace(0,1-1/Fs,Fs); f = 15; a = 4; ...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


FFT of sine function
I am trying to plot power of sine function. When I do FFT of sine wave I got two peaks for a single sin function. I don't know u...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


Power of sine wave plot
I have a power spectrum for my model. I would like to add sine wave as a drive with power spectrum. I don't know how to calculat...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


Contour Plot in gray scale
I would like to plot this contour figure in grayscale. I would like to represent higher values in dark shades. Can anyone give m...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


command for multicolumn Llegend
I have one figure which have many curves. I can't show my legend inside the figure so I have to show them outside. There are two...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


How to calculate area under peak?
I want to calculate the area under peak? Is Matlab have any default function to do it? Anyone can help? thanks.

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


double integral by a single variable by simpsons method
I want to calculate the double integral by a single variable by simpsons method. This is my code. I have a function f(x,y). I w...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


I am trying to solve this integration by simpsons method and plot figure. It's give figure taking only the value of P0= -6 from for loop. How can I solve it?
alpha = 45; beta = 185; gamma_e = 116; % Gain values G_ei = -18.96; G_ee = 18.52; ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


I am trying to solve this numerical integration by simpsons method and plot figure. But it returns NAN value.I could not understand why it returns NAN value
alpha = 45; beta = 185; gamma_e = 116; G_ei = -4.11; G_ee = 2.07; G_sr = -3.30; G_rs...

bijna 8 jaar ago | 1 answer | 0

1

answer