Answered
How to avoid omitting empty items while extracting part of a structure as an array?
Here's one way to do it. The problem is that it will be very hard to get Sarah out of this. for cc = 1:length(s) if isempt...

3 years ago | 1

| accepted

Answered
How do i change a ISO 861 Date that is beeing immported as categorical to a double or similar?
All I did was use the readtable function and it seemed to work fine. Is there something else that I'm missing? importTable = re...

3 years ago | 0

Answered
Color lines in a parallel coordinates plot according to the value of a column
I don't know what your data looks like so I'm going to make up some of my own load patients X = [Age Height Weight Smoker Syst...

3 years ago | 0

| accepted

Answered
String date and time identification
How consistent are is the information in your variable called date? Will they always look like what you have described in your q...

3 years ago | 0

Answered
I want to move up my boxchart
I'm not sure if there is a way to do that. You can always use this instead. % Left axes ax1 = nexttile; boxchart(ax1,G2) set...

3 years ago | 0

Answered
Labeling points of plot()
For a regular plot, you can use the Data Tips icon on the axtoolbar to manually select the points you want to view. To do it pro...

3 years ago | 0

| accepted

Answered
new row in a excel file
Excel = actxserver('Excel.Application'); set(Excel, 'Visible', 1); Workbooks = Excel.Workbooks; Workbook = invoke(Workbooks, ...

3 years ago | 0

Solved


Stress-Strain Properties - 5
Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...

3 years ago

Solved


Stress-Strain Properties - 4
A common measure of the ability of a material to carry load per unit mass is termed strength-to-weight ratio and is calculated b...

3 years ago

Solved


Stress-Strain Properties - 3
A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

3 years ago

Solved


Stress-Strain Properties - 2
The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

3 years ago

Solved


Stress-Strain Properties - 1
This is the first in a series of problems regarding mechanics of materials, in particular, material properties drawn from stress...

3 years ago

Answered
Write function to generate matrix
This would be saved as YourFunction.m function FunctionOutput = YourFunction(input1,input2) %input1 is number of rows ...

3 years ago | 0

Answered
How to add zeros in cell of string
OrigCell = {'10'; '00'; '11'; '011'; '0101'; '0100'}; zeroCell = cell(length(OrigCell),1); zeroCell(:,1) = {'00000000'}; ...

3 years ago | 0

| accepted

Answered
fill the area between multiple curves
The easiest way I know is to use the fill function documented here. Take all the x and y data from your arcs using %you may ha...

3 years ago | 0

| accepted

Answered
Vertical bars in scatter plot
x = randi([200 800],800,1); %random x data for scatter y = randi([1 12],800,1); %random y data for scatter scatter(x,y,'b') h...

3 years ago | 0

| accepted

Answered
How to insert a cell array elements in another cell array
Is this what you're looking for? Stations = [A,B,C];

3 years ago | 0

| accepted

Answered
how animate change in 2D graphs?
I would use animatedline to achieve this. Here's an example from the documentation. h = animatedline; axis([0,4*pi,-1,1]) x...

3 years ago | 0

Answered
I'm trying to display a pdegplot graph in appdesigner, but I have no idea how to get it do display using app.UIAxes. My code is below
All you have to do is put your uiaxes as the first arguement. For you, it would likely just be pdegplot(app.UIAxes,gm). Here's a...

3 years ago | 0

Answered
How can I set text orientation in Excel using matlab actxserver?
Excel = actxserver('Excel.Application'); set(Excel, 'Visible', 1); Workbooks = Excel.Workbooks; Workbook = invoke(Workbooks, ...

3 years ago | 2

| accepted

Answered
Matlab Design App, status text?
Try putting a small pause after you edit the value like this: app.StatusEditField.Value = "Processing"; pause(0.1)

3 years ago | 0

Answered
How to set an image as background for plot and display it in existing GUI?
This link seems like what you're looking for.

3 years ago | 1

| accepted

Answered
How can I use the brush tool after compile my app in appdesigner?
Can you clarify your question a bit more? What are you trying to do, and what is your app doing instead of allowing you to brush...

3 years ago | 0

Answered
How to load different txt files with different names in for loop?
Rather than dynamically creating names for files, I think it would be better to select the files you want to open and plot them....

3 years ago | 0

Answered
Draw a histogram in app designer
Can you show what your attempted solution? My first instinct is to direct you to the documentation for title and histogram.

3 years ago | 0

| accepted

Answered
How to calculate the frequencies interval?
I'm a little confused what you're asking, but if you have access to the x and y data then you should be able to use the findpeak...

3 years ago | 0

Answered
How to open a bdf file and read and see what's inside it?
I think this would work for you [file,path] = uigetfile('.bdf'); cd(path) fileData = readcell(file);

3 years ago | 0

| accepted

Answered
Plotting fixed X data against multiple Y data in matlab
Thank you for the clarification. There may be too many plots for the data to look nice, but the way I would do what you have des...

3 years ago | 0

| accepted

Answered
Plotting fixed X data against multiple Y data in matlab
[file,path] = uigetfile('*.*'); %select the file cd(path) %change directories fileData = readmatrix(file); %read the file xda...

3 years ago | 1

Answered
Select EditField with a FOR loop in Matlab app designer
Generally speaking, I don't think this is good practice, but here is a way you can do what you want. You may have to adapt it to...

3 years ago | 0