Feeds
提问
Trying to figure out a algorithm to filter out some data, since I dont have any additional toolbox.
Hi, I have uploaded a mat file which contains two vectors e and v. e is for energy and v is for voltage, but thats not importan...
6 days 前 | 3 个回答 | 0
3
个回答提问
how to time shift a set of data?
I have a plot of 12 cell voltages like this. There is also current here as yyaxis right, but ignore that. I forgot to remove the...
15 days 前 | 1 个回答 | 0
1
个回答提问
Have a question regarding Cumtrapz
Hello, I am not sure what cumtrapz does. So I have a plot. There are 3 plots. First is power which is Kilo Watts. Second and...
27 days 前 | 2 个回答 | 0
2
个回答已回答
Trying to get symbols to display a formula in title of uiaxes bar plot
Thank you very much. It worked, but there is a new issue. This issue was there before as well, that as you can see in the title ...
Trying to get symbols to display a formula in title of uiaxes bar plot
Thank you very much. It worked, but there is a new issue. This issue was there before as well, that as you can see in the title ...
4 months 前 | 0
提问
Trying to get symbols to display a formula in title of uiaxes bar plot
I am trying to get symbols to display a formula in title of uiaxes bar plot. In the beginning it was like this. I enter this cod...
4 months 前 | 1 个回答 | 0
1
个回答提问
Interp1 is not working after applying unique because of rounding off
I have a double array with many values. The first value is 3.569990000000001, the next multiple values is 3.570000000000001, the...
4 months 前 | 2 个回答 | 0
2
个回答提问
Problem with color plotting 2d array in a multiple y plot of axes with a 1d array
So I have to plot a yyplot in an axes. There are 3 arrays one for time called BatteryNewTimeSection, one for CellVoltages calle...
4 months 前 | 1 个回答 | 0
1
个回答提问
Cannot set text to UIaxes because cannot set position since xaxis is made of datetime
I have an application that plots time against pressure values. Time is of the format datetime. I plot using these lines of code....
4 months 前 | 1 个回答 | 0
1
个回答提问
How to solve vector equation y = mx +c
I have 5 linear equations. 3.2790m + n = 661 1.9704m + n = 401 0.9757m + n = 201 0.4835m + n = 101 0.2425m + n = 51 I...
5 months 前 | 1 个回答 | 0
1
个回答提问
How does interp1 work?
I have a matlab script that interpolates to get a new value. So there are two sets of values unique voltage and unique energy. T...
8 months 前 | 1 个回答 | 0
1
个回答提问
Plot multiple values in a single bar in bar plot
Lets say I have an array y1 = [1,3,5,7,9] and y2 = [2,4,6,8,10]. I want to make a barplot between these two where its a single...
8 months 前 | 1 个回答 | 0
1
个回答提问
How to set YLim for multiple Yaxis on UIaxes
I am plotting a figure using uiaxes in app designer with 2 y axis one on the left and other on the right. And I am trying to set...
1 year 前 | 2 个回答 | 0
2
个回答提问
Class properties Value not available in a different function.
I have a class called BatteryPlotCalculation and one of its properties is BatteryVoltageSection. properties BatteryVoltageSec...
1 year 前 | 2 个回答 | 0
2
个回答提问
Arrays have incompatible sizes for this operation error while checking dropdown.value not equal to a char value
I have created an app in appdesigner and it has a dropdown. And I check the value of this dropdown to a string value. function...
1 year 前 | 1 个回答 | 0
1
个回答提问
Cannot see some section of code in appdesigner
This is some part of my code in matlab appdesigner. As you can see I cannot see the code from 256 to 518. Someone else playe...
1 year 前 | 1 个回答 | 0
1
个回答提问
Space in a text is taken as line break in UIcontrol
I have a long string variable like this. tex = "Date=09-Jul-2024 Delta_E=-3.3317 Delta_U=300-320V Sigma=0.094335 MaxAbs=0.0005...
1 year 前 | 1 个回答 | 0
1
个回答提问
Trouble with inheritance i MATLAB OOP
I have two classes. ParameterFile and PathParameterFile. Both are used to read from an xml file and get its contents. PathParame...
1 year 前 | 1 个回答 | 0
1
个回答提问
Check the format of a string.
I have a string variable and I need to check if it is of the given format. Its actually a date time. There are two types. One i...
2 years 前 | 2 个回答 | 0
2
个回答已回答
Copying UIaxes into a figure with correct position
solved it: newFigure = figure('visible','off'); copyobj(app.UIAxes,newFigure); ax = g...
Copying UIaxes into a figure with correct position
solved it: newFigure = figure('visible','off'); copyobj(app.UIAxes,newFigure); ax = g...
2 years 前 | 0
| 已接受
提问
Copying UIaxes into a figure with correct position
I have attached a picture which is a screenshot of a figure from matlab that is obtained by copying from UIaxes. So UIaxes posit...
2 years 前 | 1 个回答 | 0
1
个回答提问
Copy 3 UIaxes into one figure
I have a plot in MATLAB app designer with 3 UIaxes which means I have 3 plots actually. I want copy all 3 of them into one figur...
2 years 前 | 1 个回答 | 0
1
个回答提问
Set the private property of a class without using a constructor
I have a class and i just need to set the private property of the class without using constructor. Is this possible? So basicall...
2 years 前 | 1 个回答 | 0
1
个回答提问
Error using plot Vectors must be the same length.
I am trying to plot this. plot(time,cellvoltages). Size of cellvoltages is 36004 x 84. That is fixed. Now the time varies acc...
2 years 前 | 1 个回答 | 0
1
个回答提问
Error using strfind Conversion to double from table is not possible.
I have a table and I extracted one value from the table and it is dataTimeColumn(1,1) = 2023-07-24T16:15:54.200 And I tried to...
2 years 前 | 2 个回答 | 0
2
个回答提问
Add 2 Numbers in a class
So I am trying to learn OOP in MATLAB. I am a beginner in MATLAB and trying to learn stuff. So I decided to create this simple a...
2 years 前 | 3 个回答 | 0
3
个回答提问
Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix. For example, starting with the number 1 and moving to the right in a c
Hi, I am trying to attempt this question. But my problem is where is the spiral MATRIX.How do we compute the sum without the MAT...
6 years 前 | 1 个回答 | 0
1
个回答已回答
Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix.
Hi, I am trying to attempt the same question. But my problem is where is the spiral MATRIX.How do we compute the sum without the...
Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix.
Hi, I am trying to attempt the same question. But my problem is where is the spiral MATRIX.How do we compute the sum without the...
7 years 前 | 0
已回答
Calling a function with 2 inputs using only a single input
thank you very much for your answers, it helped me
Calling a function with 2 inputs using only a single input
thank you very much for your answers, it helped me
7 years 前 | 0
提问
Calling a function with 2 inputs using only a single input
I have a function with inputs a and b and when i tried to call the function with one input a and use the inbuilt function isempt...
7 years 前 | 3 个回答 | 0
3
个回答提问
Excel to Matlab to Simulink
data = xlsread('Mappe1'); breakpoints1 = data(1:end,1)'; breakpoints2 = data(1:end,2)'; Mappe1 is an excel file with 2 column...
8 years 前 | 0 个回答 | 0