Respondida
For loop with use of larger than
Now I want to calculate the average data value of the pressure for every small angle change. Hint: Do modify accordingly angl...

alrededor de 5 años hace | 1

Respondida
The graph I'm trying to create is empty
Here loop can be avoided (Recomended) t = 0:1:20 y =50*1.15.^t; figure,plot(t,y,'g') title('Voltage vs Time') xlabel('Time(...

alrededor de 5 años hace | 0

Respondida
How to change LineWidth and MarkerSize in plot fit curve ?
Can you try this way? figure,plot(f,'r--'); hold on; plot(x,y,'^b','MarkerSize',10); May be because of different class, her...

alrededor de 5 años hace | 1

| aceptada

Respondida
How to calculate all the numbers in an array with some conditions?
"The problem is I need the value of phi is restricted between-2pi and 2pi. (The angle value (th) I stated was 20 degree but it c...

alrededor de 5 años hace | 0

Respondida
Counting the amount of overlap for 2D surfaces
This way: a=1:20; b=1:180; [x,y]=meshgrid(a,b); data=randi(100,[180,20,20]); tiledlayout(5,4);% 20 Plots for i=1:20 ...

alrededor de 5 años hace | 0

Respondida
how to extract the area of highlighted circle from the original image? I don't want to include part 2 area. I have attached original file along with the highlighted file
This one: #Step 1: Morphological Operation to remove those unwanted Region (You may avoid Morpho operation. Please see the dif...

alrededor de 5 años hace | 0

| aceptada

Respondida
How to Change Array Values with some Random numbers
K=randi([min_value max_value],1,12)

alrededor de 5 años hace | 0

Respondida
How can I change 'y axis' into 'Probability', not the 'number' when I use 'hist(variable)' ?
Is there any sense? Let's suppose I have the following array > data data = 4 3 5 3 5 5 3 4 ...

alrededor de 5 años hace | 0

Respondida
Convert ECG signal waveform into text file
Steps: %load the mat file data=load('mat_file.mat'); %Save the data in txt file dlmwrite('filename.txt',data)

alrededor de 5 años hace | 0

Respondida
How do I create a vector in which the exponet is increasing?
"something like 10^-1, 10^-.9,10^-.8 ..... 10^1" data=10.^(-1:0.1:1)

alrededor de 5 años hace | 0

Respondida
Help on zero padding and understanding of the following example?
"If the zero padding was right then this time should be lower than above two, right?" How? The only difference between section...

alrededor de 5 años hace | 0

Respondida
Extract FFT of every column in frequency domain
A_G_fft = fft(A_G,[],1); Is that : y_data=vibration measured through labVIEW ? for i=1:size(A_G_fft,2) col_data=A_G_fft(:,i)...

alrededor de 5 años hace | 0

Respondida
runge-kutta ode45
Minor modification: Function Code (Save in the same working directory, filename runge_kutta_sis.m) function runge_kutta_sis(f,g...

alrededor de 5 años hace | 0

| aceptada

Respondida
For loop to add elements in a vector
% Set the format as per how numbers should appear in Command Window output format shortG Next: x=zeros(15,1); x(1)=50; for...

alrededor de 5 años hace | 0

Respondida
Matching elements from two different matrixes.
a=Shut(Shut>LowerLimit & Shut<UpperLimit) a = 228.6000 304.8000 381.0000 457.2000

alrededor de 5 años hace | 0

| aceptada

Respondida
Calling elements of a row vector in Loop function
To save the array or matrix data use cell array. The ( ) allows to save the scalar numeric data only. { } bracket Read about...

alrededor de 5 años hace | 0

Respondida
Problem with try/catch
Have you read the document of try catch Doc fucntion? If any statement in a try block generates an error, program control goes...

alrededor de 5 años hace | 0

| aceptada

Respondida
How to center and add margin around image?
You can manually adjust the indices and overlap with the main image. Note that the main image pixel values will be lost in the o...

alrededor de 5 años hace | 0

Respondida
Deleting multiple rows based on a specific condition
Lets say data1 is the column time data diff_data=diff(data1); idx_delete=find(diff_data~=3600)+1; % +1 for compensate with ne...

alrededor de 5 años hace | 0

| aceptada

Respondida
How can I plot the curve of SNR in dB versus target range in Km. The following code is producing blank plots.
The plot variables data are scalar (Single data), is there any sense? Like x=4; y=7; plot(x,y); There is a single dot in ...

alrededor de 5 años hace | 0

Respondida
How should I find cubic root?
Here roots https://in.mathworks.com/help/matlab/ref/roots.html

alrededor de 5 años hace | 2

Respondida
How to extract matching coordinates of a stitched and set of original images?
First Case: Pixel to Pixel comparision Simplest is Do the subtraction: The nearly zero or zero in the differenc result signify ...

alrededor de 5 años hace | 0

| aceptada

Respondida
How can I keep peak data
First case: The data is already there (store in the workspace, variable named as pks). You can use the data in proceeding spar...

alrededor de 5 años hace | 0

| aceptada

Respondida
i have 2 tables have same number of columns i need to marge without key
result_table=[table1,table1] Make sure that both tables do not have the same column variable names and both have same number of...

alrededor de 5 años hace | 0

| aceptada

Respondida
How to save clustergram as fig file using code?
One way: plot(cgo); saveas(gcf,'filename1.png')

alrededor de 5 años hace | 1

Respondida
Creating a matrix with for and input
nnd=input('Enter nnd '); ... geom(i,j)=input('Enter the Value: ')' .. geom

alrededor de 5 años hace | 1

| aceptada

Respondida
How to increase axis of stem plots
xlim([0,1400 ]) Do the same for y axis ylim([0 16])

alrededor de 5 años hace | 0

Respondida
Plot a graph from the given table
Graph: Please do learn about line/plot design here simu_result=[34 81 92 94 211 222 233 234 312 336 372]; ana_result=[36 98 ...

alrededor de 5 años hace | 0

| aceptada

Respondida
precision problem ? why ans for 10 ^ 5 * 0.0633 is 6.3299e+03
>> 10 ^ 5 * 0.0633 ans = 6.3300e+03 >> format shortG >> 10 ^ 5 * 0.0633 ans = 6330 See the other Format opti...

alrededor de 5 años hace | 0

Respondida
How to visualize a pixel intensity values into an image or a plot?
You can use the following function to read a txt file. readmatrix, readtable, load etc Example: data=readmatrix('post_mathwor...

alrededor de 5 años hace | 0

| aceptada

Cargar más