Community Profile

photo

Micke Malmström


Swerim

Last seen: 6 dagen ago Active since 2011

Statistics

All
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Revival Level 1
  • Thankful Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How to update array inside a database
I think Ive found half the solution. When I read out the responce from the database I have to convert the varbin that is inter...

10 dagen ago | 0

Question


How to update array inside a database
How can i update the contents of one row of ColumnOfInterest (see below) with a new array? conn = database('DB'....); data = f...

17 dagen ago | 2 answers | 0

2

answers

Answered
best practice for continuous processing of data from database
I guess I could use a timer object to schedule a lookup in the database? However, can I restart the timer? Or should I create a ...

24 dagen ago | 0

Question


best practice for continuous processing of data from database
I want to setup a computer to continuously ask a database for new data, process the new data and then write back the reults of t...

4 maanden ago | 1 answer | 0

1

answer

Question


restricting get method to not process all the values
I have a get method that calulates a 2-d matrix based on data in a 3d-matrix. This calculation takes some time to perform if I h...

6 maanden ago | 1 answer | 0

1

answer

Answered
Plotting >500 curves verry slow since new plotting mode appeared?
Se comment above about colororder

8 maanden ago | 0

| accepted

Question


Sometimes Matlab does not perform task until a "return" is performed in the Command Window. Am I alone?
I have som AppDesigner GUIs that performs tasks when I click some button. Sometimes Matlab simply doesnt perform the task unless...

8 maanden ago | 0 answers | 0

0

answers

Question


Plotting >500 curves verry slow since new plotting mode appeared?
I have been plotting many 1000 curves (double with ~32000 points in each line) in matlab with regular "plot" function and have r...

12 maanden ago | 2 answers | 0

2

answers

Answered
How to get general interval from a string with regexp
Seems this works ok: [v,vv]=regexp(obj.FileName,[' X ([-\d\.]){1,10}-([-\d\.]){1,10} mm'],'tokens','match'); if ~isempty(v) % ...

meer dan een jaar ago | 0

Question


How to get general interval from a string with regexp
I have a long string (FileName) from which I would like to extract some variables describing the X values. The string contins th...

meer dan een jaar ago | 2 answers | 0

2

answers

Answered
How can I calculate a weighted mean in Matlab?
See this function https://se.mathworks.com/matlabcentral/fileexchange/14416-wmean?s_tid=srchtitle

ongeveer 2 jaar ago | 0

Answered
How do I collaborate on matlab?
I would also like to be able to work simultaneously on the same file. Just as one can in google docs or office 365... it really ...

ongeveer 3 jaar ago | 0

Question


How can my code know if it iss called from the base or from some other function?
I want my "figure formatting function" to copy the current figure if it is called from "base"-workspace but not if it is called ...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Answered
How to make long title for a plot with automatic line breaks?
ha=gca; NoCharPerLine= 78; % or whatever you want... if ismatrix(ha(end).Title.String) && size(ha(end).Title.String,2)>NoCh...

meer dan 3 jaar ago | 0

Question


Can I force Matlab to not place new figures on top?
I have some scripts that plots graphs and exports them with export_fig(...). the figures always pops up to "stay on top". Can i ...

meer dan 3 jaar ago | 3 answers | 0

3

answers

Answered
calling subclass method does not pass the obj only the argument
This seems to work: OBJ=FLUS; OBJ.fun1(OBJ,extravalues);

meer dan 3 jaar ago | 0

Question


How can I change the icon of my AppDesigner-produced GUIs?
I would like to easily distinguage my GUI from the figures when pressing Alt+Tab so I can access it faster. Now when I run the...

meer dan 3 jaar ago | 3 answers | 0

3

answers

Answered
How to make long title for a plot with automatic line breaks?
Write code to # Get the axis width (ha.Position), and fontsize (ha.Title.FontSize) in pixels (where ha is the handle to the ...

meer dan 3 jaar ago | 0

Question


calling subclass method does not pass the obj only the argument
I have these classes classdef LUS < handle methods function fun1(obj,extravalues) %some code using extravalues ...

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


How to auto rotate x/y/z-label to the same angle as the axis?
I use the 'Rotation' option to get the text aligned with the axis at the momet, eg: xlabel('Frequency (MHz)','Rotation',-10)...

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


How to synchronize two datasets with different AND varying sampling rate?
I have the data sets, Data1 and Data2 like below: Data1.t % vector with timestamps e.g. [0.1, 0.4 2 2.3 4 4.5 4.7 etc...] ...

bijna 4 jaar ago | 0 answers | 0

0

answers

Question


What is the difference between designfilt and fdesign
Im trying to do zero phase filter my obj.CurrentData with this: % FilterType='butter'; % FilterP...

bijna 4 jaar ago | 1 answer | 1

1

answer

Answered
How can I stop image stretching using imshow in the new App designer?
Have you tried variations of "axis"? Like axis(app.UIAxes,'equal')

ongeveer 4 jaar ago | 1

Question


Advise on how to structure different classes. I'm OO newbie
I have between 1 and 1500 oscilloscope traces that make up a 2D-dataset that is associated with a lot of other parameters (eg X,...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Where should I save my own app prefereces?
I have my AppDesigner-app and I want it to remember the settings from last session. How and where should i prefereably save the ...

meer dan 4 jaar ago | 2 answers | 0

2

answers

Question


Can I "collapse all in" the editor like in the help browser
When I work in a class I usually collapse all my methods (functions) to get a better overwiew. BUT I cant seem to find a way of ...

bijna 5 jaar ago | 1 answer | 1

1

answer

Question


Can Í have a listener in a class that checks if the folder-content is changed?
I have a folder that recievs files from time to time and I want matlab to plot the data directly as they arive in the folder... ...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


setting transparancy of legend?
Is it possible to make the background of the legend be slighly transparent so that the lines behind it can be somewat visible?

bijna 5 jaar ago | 3 answers | 0

3

answers

Question


how can my app inherit from my classes
I have a class that can do some computations on some imported data. Now I would like to create an app with buttons for the metho...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


How to check if right axis is visible?
I have a finction that process all the lines in the current graph. Since the introduction of yyaxis right I need my fun...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Load more