Réponse apportée
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...

plus de 5 ans il y a | 1

Réponse apportée
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(...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to Change Array Values with some Random numbers
K=randi([min_value max_value],1,12)

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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)

plus de 5 ans il y a | 0

Réponse apportée
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)

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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)...

plus de 5 ans il y a | 0

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

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
Matching elements from two different matrixes.
a=Shut(Shut>LowerLimit & Shut<UpperLimit) a = 228.6000 304.8000 381.0000 457.2000

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
How should I find cubic root?
Here roots https://in.mathworks.com/help/matlab/ref/roots.html

plus de 5 ans il y a | 2

Réponse apportée
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 ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

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

plus de 5 ans il y a | 1

Réponse apportée
Creating a matrix with for and input
nnd=input('Enter nnd '); ... geom(i,j)=input('Enter the Value: ')' .. geom

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
How to increase axis of stem plots
xlim([0,1400 ]) Do the same for y axis ylim([0 16])

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Charger plus