Feeds
提问
How to convert /map uint16 to int16 maintaining the dynamic range so that [0] and [2^16-1] in uint16 beomes [-2^15] and [2^15-1] without going through double
I would like to convert my uint16 values to int16 values amd maintain the dynamic range. All my attempts with typecast and cast ...
7 months 前 | 2 个回答 | 0
2
个回答已提交
linregca
Calculates the least square linear regression of all separate lines in current axes
7 months 前 | 3 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/a9372cf6-6d67-4b02-b18a-45219a5d352f/bd1a2927-1198-4880-9abe-c5954b3175d0/images/1705650388.png)
已提交
MergeTables
Merges one table into an existing table while making sure the datatypes are the same.
2 years 前 | 1 次下载 |
已回答
Can I define a specific method to run upon loading obj from mat file?
Unless there is a specific way to do this I realized I could use ConstructOnLoad with a switch statment (looking at the data...
Can I define a specific method to run upon loading obj from mat file?
Unless there is a specific way to do this I realized I could use ConstructOnLoad with a switch statment (looking at the data...
2 years 前 | 0
提问
Can I define a specific method to run upon loading obj from mat file?
I have a class with a constructor which works fine. When loading the obj from a mat file however I would like another method to ...
2 years 前 | 2 个回答 | 0
2
个回答已提交
ADQcommands
A class-type list of commands for communicating with ADQ SP-Devices via mex_ADQ CC Swerim
3 years 前 | 2 次下载 |
已回答
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...
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...
3 years 前 | 0
提问
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...
3 years 前 | 2 个回答 | 0
2
个回答已回答
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 ...
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 ...
3 years 前 | 0
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答已回答
Plotting >500 curves verry slow since new plotting mode appeared?
Se comment above about colororder
Plotting >500 curves verry slow since new plotting mode appeared?
Se comment above about colororder
3 years 前 | 0
| 已接受
提问
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...
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答已回答
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) % ...
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) % ...
4 years 前 | 0
提问
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...
4 years 前 | 2 个回答 | 0
2
个回答已回答
How can I calculate a weighted mean in Matlab?
See this function https://se.mathworks.com/matlabcentral/fileexchange/14416-wmean?s_tid=srchtitle
How can I calculate a weighted mean in Matlab?
See this function https://se.mathworks.com/matlabcentral/fileexchange/14416-wmean?s_tid=srchtitle
5 years 前 | 0
已回答
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 ...
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 ...
6 years 前 | 1
提问
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 ...
6 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
6 years 前 | 0
提问
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 ...
6 years 前 | 3 个回答 | 0
3
个回答已回答
calling subclass method does not pass the obj only the argument
This seems to work: OBJ=FLUS; OBJ.fun1(OBJ,extravalues);
calling subclass method does not pass the obj only the argument
This seems to work: OBJ=FLUS; OBJ.fun1(OBJ,extravalues);
6 years 前 | 0
提问
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...
6 years 前 | 4 个回答 | 0
4
个回答已回答
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 ...
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 ...
6 years 前 | 0
提问
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 ...
6 years 前 | 1 个回答 | 0
1
个回答提问
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)...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...] ...
7 years 前 | 0 个回答 | 0
0
个回答提问
What is the difference between designfilt and fdesign
Im trying to do zero phase filter my obj.CurrentData with this: % FilterType='butter'; % FilterP...
7 years 前 | 1 个回答 | 1