Community Profile

photo

Minh Tran


Last seen: plus de 3 ans il y a Actif depuis 2015

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


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 ...

plus de 3 ans il y a | 1 réponse | 3

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

A répondu
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...

plus de 4 ans il y a | 0

| A accepté

Question


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...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


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...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


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 ...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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 ...

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


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...

environ 5 ans il y a | 1 réponse | 1

0

réponse

Question


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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

A répondu
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 ...

plus de 5 ans il y a | 0

Question


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...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


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 ...

plus de 5 ans il y a | 2 réponses | 1

2

réponses

Question


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 ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

A répondu
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...

plus de 6 ans il y a | 0

Question


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...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 7 ans il y a | 2 réponses | 0

2

réponses

Question


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...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


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'...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Question


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); %...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 2 réponses | 0

2

réponses