Electrical engineer that likes Matlab a lot. Machine Learning, signal processing, arduino, power electronics, math.

Question

License Requirements for Deep Learning Container on AWS.

Hello, I want to know if the "Deep Learning Container" for AWS comes as a bundle or if you must purchase each license separa...

27 giorni ago | 0 answers | 0

Question

Using Intel HD Graphics for CUDA code generation in Matlab.

Hello guys, I want to be able to load a Deep Learning model within Simulink, and for this I need to generate CUDA code. Curr...

28 giorni ago | 0 answers | 0

Question

DL + GPU Coder: Code generation for SequenceInputLayer is not supported.

Hello guys, I have a DL model I'd like to use to import to Simulink, with the help of the GPU coder. Is a simple function, an...

30 giorni ago | 1 answer | 0

Question

Keras TensorFlow importer: can't upload weights from .h5 file using importKerasNetwork.

Hi, I have a .h5 file with a Keras TensorFlow model that was built using Sequential API. The model is carrying weights, and thou...

circa 2 mesi ago | 1 answer | 0

Question

textscan or regex to get numbers from a text message.

I have an expression that looks like this: text = '[API.msg2] Order size 400 is smaller than the minimum required size of 50...

circa 2 mesi ago | 1 answer | 0

Question

Importing Keras model to Matlab: LSTM layers is not yet supported.

I have a .h5 file I want to upload to Matlab using the import tool for TensorFlow in matlab, like this: layers = importKerasL...

circa 2 mesi ago | 1 answer | 0

Question

Matlab can't find site-packages folder from Python environment.

Hello guys, I'd like to call user-defined functions/scripts I built in python through Matlab. I'm aware of many of the things...

2 mesi ago | 0 answers | 0

Question

Simulink: plotting outcome of Matlab Function box to a scope.

I have a matlab function called from within a Simulink Block. The outcome of this is a scalar (a 1x1 array in terms of Matlab). ...

3 mesi ago | 0 answers | 0

Question

Simulink in 2018a: Synchronization to real-time kernel has failed.

I'm trying to use the thingspeakinput block in simulink, my model is fairly simple. I only have that ThingSpeak block connected ...

3 mesi ago | 0 answers | 0

Question

Ploting timeseries data in Simulink (Variable vs. HH:MM:SS).

I have a Simulink block that calls a user-defined function. This function calls another function: thingspeakread.m (provided by ...

3 mesi ago | 0 answers | 0

Question

Handling Struct and String Arrays in Simulink.

Hey guys, I have a function that has 3 types of outputs: 1) numeric array. 2) string array. 3) struct array. Is there ...

3 mesi ago | 1 answer | 1

Question

Using Regex to get strings with whitespace within them.

Hey guys, I want to use Regex to acquire some ID's in a cellstring array, the array looks like this: myString = '(['US04650...

4 mesi ago | 1 answer | 0

Question

Regular expression for a Python Dict.

Hey guys, I have a python dict that I have turned into a string using char(values()) command, the outcome after that is the ...

5 mesi ago | 0 answers | 0

Question

Building/Estimate Panel VARs in Matlab.

Hey guys, I know VARs can be stimated in Matlab when you have multiple time series. But what's the case when we have to do i...

8 mesi ago | 0 answers | 0

Question

Help using Regexp:

Hello, I'm a bit confused on how to use regexp to get information that's between braces. For example, I have the following t...

10 mesi ago | 1 answer | 0

Question

Populate pyargs() arguments with the contents of a string cell array.

Hello everybody, I'd like to know if there's a way to populate the arguments of pyargs() with the contents of an array, inste...

10 mesi ago | 2 answers | 0

Question

Can't use strcmp with two strings or char values that are apparently equal.

I have a group of business days in format 'mm/dd/yyyy', from this, I created an array with a char format ( *data_char*) and a st...

circa un anno ago | 1 answer | 0

Question

Getting a list of business days ignoring holidays regardless of timezone/country.

Hello, I'd like to make an array of dates containing business days regardless of the holidays (if there's any within that ra...

circa un anno ago | 0 answers | 0

Question

Using Dates (if possible) as structure fields.

I'd like to know if there's a way to use dates as struct fields. The data I want to store in the struct comes in a daily basis a...

oltre un anno ago | 2 answers | 0

Answered

Transform a Dict (or any python data structure) to Struct or Cell Array in Matlab.

I wrote a small function that transforms the dictionary into a cell array and then that cell array is used to populate a structu...

Transform a Dict (or any python data structure) to Struct or Cell Array in Matlab.

I wrote a small function that transforms the dictionary into a cell array and then that cell array is used to populate a structu...

oltre un anno ago | 0

| accepted

Question

Transform a Dict (or any python data structure) to Struct or Cell Array in Matlab.

Hi, I'd like to create a structure or a cell array from Matlab given a Python dictionary. I'm using the built-in Python API ...

oltre un anno ago | 1 answer | 0

Answered

Read CSV file with column headers and row headers.

Hey guys, I just went for an even simpler solution, I used this function called <https://www.mathworks.com/matlabcentral/fi...

Read CSV file with column headers and row headers.

Hey guys, I just went for an even simpler solution, I used this function called <https://www.mathworks.com/matlabcentral/fi...

oltre un anno ago | 0

| accepted

Question

Read CSV file with column headers and row headers.

Hi, I'd like to know how to read a CSV file that has column headers as well as row headers. Is there a function in Matlab tha...

oltre un anno ago | 3 answers | 0

Question

I want to extract the page buttons/widgets in a website using URLREAD.

I want to learn what is the common expression for Buttons/Widgets that contain page numbers of a catalog, e.g. like in this <htt...

oltre un anno ago | 1 answer | 0

Question

Call a VBA object in Matlab with Activex server.

Hello, I already know we can call functions/subs from a VBA module within Matlab using activex server with this command: Exc...

circa 2 anni ago | 0 answers | 0

Question

How to call Factset using Matlab through an Excel spreadsheet.

Hello, I'd like to know how to use FDS codes (Factset codes) in Matlab like I do in a Excel spreadsheet. For example, if I w...

circa 2 anni ago | 0 answers | 0

Question

Different magnitude values when computing f-domain function by hand and with fft matlab command.

Hello everyone, I have the following function in time-domain and its correspondent f-domain transform: <</matlabcentral/answ...

oltre 2 anni ago | 0 answers | 0

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

oltre 2 anni ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

oltre 2 anni ago

Question

I can't read my .txt file using importdata. Problem with format?

Hello, I made a script that reads a .txt file using textscan to manipulate some of the values, the outcome is another .txt f...

oltre 2 anni ago | 1 answer | 0