Community Profile

Last seen: 7 days ago Active since 2021

All

Content Feed

View by

Question

How can i show only definite data values in bar plot?
X=1:7; Y=[100 50 35 20 8 7 6]; bar(Y); text(X,Y,num2str(Y','%0.2f'),'HorizontalAlignment','center','VerticalAlignment','botto...

23 days ago | 2 answers | 0

2

How to use 'for' loop to string variable ?
trying something new. want to export all mat files as@KSSV suggested. applied this code: files = dir('*.mat') ; for k = 1:l...

27 days ago | 0

Question

How to use 'for' loop to string variable ?
I have severals mat files. I have defined these files as a string variable in m file. i can execute the files seperately with a ...

1 month ago | 4 answers | 0

4

Question

How to execute several mat file in a loop.
I have 5 mat files in a folder. Battery_Power_280.mat Battery_Power_300.mat Battery_Power_320.mat Battery_Power_340.mat Ba...

1 month ago | 2 answers | 0

2

Question

how to use a 'loop' for certain counts
I have 15 areas in my power data if i plot. want to calculate each area by using trapz function. can calculate each area manuall...

1 month ago | 2 answers | 0

2

Question

why does 'sum' and 'trapz' function show same result ?
Just found the same result for "sum" and "trapz" function. is it same for uniform spacing (i think here is1) in trapz ? if ye...

1 month ago | 2 answers | 0

2

Question

How to find the area from a Positive and negative signal plot
Facing problem to find the positive and negative signal area. want to find the how many signals has in the positive and negati...

1 month ago | 2 answers | 0

2

Question

how to find the inner values between two integer value
hello, facing problem to find the inner values between 2 integer. please have the attached file. 1. at 6am power is 30 and at ...

2 months ago | 1 answer | 0

1

Question

How to convert timeseries class mat file to excel
Hello. Facing probelm with timeseries class. i want to convert the mat file into excel. I have used the below code,but it's sho...

2 months ago | 3 answers | 0

3

Question

How can i run the same scripts of Matlab in Matlab app design?
Line 1: t=readtable("Load.xlsx"); Line 2: app.UITable.Data=t; Line 3: time=t(:,1); % first colomn Line 4: power_PV=t(:,2)...

2 months ago | 1 answer | 0

1

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 months ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

3 months ago

Question

how to write an Algebraic Equation in Matlab
Hello, there is an equation for solving Energy stored in a Capacitor. That's an easy equation. But, I want to write that solvin...

3 months ago | 1 answer | 0