photo

Minh Tran


Last seen: fast 4 Jahre vor Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to plot std::vector data from C++ program to figure window using Engine API for C++?
This post is more a tutorial, sharing what I found that worked, than it is a question since I couldn't find a simple example to ...

etwa 4 Jahre vor | 0 Antworten | 3

0

Antworten

Frage


How to set upper/lower bound of a Numeric Slider control in a Livescript to a variable value?
Question in the title.

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How do I get detectImportOptions to preserve row order and not skip rows?
I took a subset of the larger textfile and included rows from the original textfile that went missing along with a couple of row...

mehr als 5 Jahre vor | 0

| akzeptiert

Frage


How do I get detectImportOptions to preserve row order and not skip rows?
I'm trying to read the attached textfile into a table so that I can call function row by row. I used the following import option...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to replace all 1x1 cells containing 'NAN' with 'NaN'?
Attached is a cell array that I need to convert to an array of doubles (for plotting). The values were pulled from textfile (int...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to display latex expression with natural log in a plot's legend?
I'm having trouble getting the following LaTex expression to display in the legend. I used those expresions in the Live Editor's...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


What does "axes( __ )" mean on the Axes help page?
I don't understand what the axes( __ ) signature mean on the Axes() description page. Does it say that every overloaded Axes() c...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to convert an array of bytes to IEEE 754 single-precision float?
I'm using Matlab R2007b. I have an array [65 227 216 168] which represents the hexadecimal digits 0x41E3D8A8 that I'd like ...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Do I need to include functions defined in other files when compiling my script to a C Executable?
My script, wcpngui.m, calls functions defined in other files (adodb_connect.m and adodb_query.m) which I've downloaded from the ...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Executing a Jenkins Build (invoking the Matlab compiler in Windows Shell) returns license error: "Error: Could not check out a Compiler license"
I'm trying to set up a Jenkins build to "Execute Windows batch command" when changes are pushed to a remote repository (that's r...

fast 6 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


How do I convert relative Gregorian days since 1935-01-01 to calendar datetime (days with hours,mins,sec)?
I have a netcdf dataset that reports timestamps as decimal values where each represents the "Gregorian" days since 1935-01-01 (1...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to convert a cell array of singles and doubles to an array of a single type (double)?
A solution I just came up with that is kind of clunky: result = NaN(size( struct.speed(:,1) )); % Preallocate a vector of ...

etwa 6 Jahre vor | 0

Frage


How to convert a cell array of singles and doubles to an array of a single type (double)?
I queried a database for an array of numerical values. The query is a function call that returns a struct of different cell-arra...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


What is the difference between ( ) and { } when accessing elements of a cell array?
There are two cell arrays that I'd like to consider: a = {{'air'}, {'bee'}, {'cat'}} % Cell array of single-element cell ...

etwa 6 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


How to find the largest index into a cell array, pointing to an element after which all subsequent elements are empty?
I'm writing a function that parses a text file containing key-value-value tuples that are separated by 2 delimiters. The second ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to assign XTickLabels a subset of date strings?
I'm using _imagesc_ to plot ocean current magnitude against depth (y-axis) and time (x-axis). The call looks like this: im...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Compiled Matlab executable, invoked by Window's Task Scheduler, can't locate input .csv file inside current folder
I wasn't able to get the compiled ML application to recognize the .csv file using the path 'input.csv' but the application did r...

mehr als 7 Jahre vor | 0

Frage


Compiled Matlab executable, invoked by Window's Task Scheduler, can't locate input .csv file inside current folder
I've successfully compiled a ML script (wrapped by a function) which operates on a .csv file. That .csv file gets overwritten ev...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Error: Undefined function or variable 'fgetl' when fgetl() is placed inside an else statement
Hi, I'm writing a simple script to read a .csv file. I get the error: Undefined function or variable 'fgetl'. Error in...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to create a matlab plot that displays two horizontal axes (each with a different x-tick), with one axes on the bottom and one on top?
I'm taking signals class and something like this would come in handy. https://en.wikipedia.org/wiki/Sinc_function <</ma...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I'm using an auxiliary function that operates on an 1x4 array. But I need to append 2 extra columns to that 1x4 in the final output. Is there a way to merge 1x2 with 1x4?
function [finalOutput] = outerfun() o1 = auxfunc() o2 = auxfunc2() % how to merge o1 and o2 ? end functi...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I write a function that behaves differently according to the number of input arguments?
First, is it possible to write a function that variably accepts some number of arguments? (It should be possible since to create...

etwa 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


I've enabled pan and zoom for a figure but I can only zoom in the figure. How do I pan?
I can click and draw a box for a region to zoom in on on the axes window but I can't pan. close(findall(0,'type','figure'...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to "Increment val & run section" with values defined in function files that are separate from GUI script?
I wrote a GUI script which calls functions defined in separate .m files. When I run the script, I find that I may need to modify...

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How do I create a function (located in a separate file) that puts an interactive axes in a GUI tab (with the GUI defined in a script)?
I created a ML GUI script similar to the following: fig1 = figure; % Window for GUI tbgp = uitabgroup(fig1); %...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Does axes() return anything?
f2 = figure; a1 = axes('Parent',f2); What is |a1|?

etwa 9 Jahre vor | 2 Antworten | 0

2

Antworten