Tag: c

61 votes
2 answers
2.7K views
Testing NativeScript app with Appium

I am learning NativeScript. I am trying to write some automated tests with Jasmine. From my understanding, I c

avatar
Alba
0 1 0 9
asked 07 September, 2021
58 votes
3 answers
662 views
Which is better vue-native or nativescript-vue?

I would like to start a mobile app with VueJS. Can anyone please suggest which Framework I can choose between

avatar
Juliane
0 1 0 9
asked 07 September, 2021
63 votes
4 answers
882 views
Hybrid App - Ionic vs NativeScript

I am in mobile space for quite some time and we are having native Android and iOS app already. Now our company

avatar
Georgie
0 1 0 9
asked 07 September, 2021
53 votes
6 answers
1.4K views
Why is 24.0000 not equal to 24.0000 in MATLAB?

I am writing a program where I need to delete duplicate points stored in a matrix. The problem is that when it

avatar
Arline
0 1 0 9
asked 07 September, 2021
59 votes
15 answers
384 views
How to deal with name/value pairs of function arguments in MATLAB

I have a function that takes optional arguments as name/value pairs. function example(varargin) % Lots of set

avatar
Bryan
0 1 0 9
asked 07 September, 2021
55 votes
4 answers
1.3K views
Function for 'does matrix contain value X?'

Is there a built in MATLAB function to find out if a matrix contains a certain value? (ala PHP's in_array

avatar
Majorie
0 1 0 9
asked 07 September, 2021
50 votes
2 answers
739 views
In MATLAB, are variables REALLY double-precision by default?

This question arose out of something strange that I noticed after investigating this question further... I al

avatar
Dusty
0 1 0 9
asked 07 September, 2021
55 votes
7 answers
1.8K views
How can I count the number of elements of a given value in a matrix?

Does anyone know how to count the number of times a value appears in a matrix? For example, if I have a 1500

avatar
Thurman
0 1 0 9
asked 07 September, 2021
52 votes
4 answers
2.2K views
Iterating through struct fieldnames in MATLAB

My question is easily summarized as: "Why does the following not work?" teststruct = struct('a',3,&

avatar
Lynette
0 1 0 9
asked 07 September, 2021
54 votes
7 answers
1.3K views
LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in file.obj

I am Integrating Matlab, C and Cuda together in a project. I used Matlab mix in order to connect matlab mx fun

avatar
Trudy
0 1 0 9
asked 07 September, 2021
66 votes
3 answers
770 views
Octave/Matlab: Adding new elements to a vector

Having a vector x and I have to add an element (newElem) . Is there any difference between - x(end+1) = new

avatar
Kurtis
0 1 0 9
asked 07 September, 2021
63 votes
6 answers
448 views
How to concat string + i?

for i=1:N f(i) = 'f'+i; end gives an error in MatLab. What's the correct syntax to initial

avatar
Jeff
0 1 0 9
asked 07 September, 2021
53 votes
10 answers
2.1K views
MatLab error: cannot open with static TLS

Since a couple of days, I constantly receive the same error while using MATLAB which happens at some point wit

avatar
Corey
0 1 0 9
asked 07 September, 2021
64 votes
7 answers
469 views
In MATLAB, can I have a script and a function definition in the same file?

Suppose I have a function f() and I want to use it in my_file.m, which is a script. Is it possible to have th

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
57 votes
11 answers
1.8K views
Why/when should I prefer MATLAB over Octave?

In our shoestring operation we need to prototype algorithms in some higher-level language before committing to

avatar
Dario
0 1 0 9
asked 07 September, 2021
65 votes
2 answers
1.2K views
cocktail party algorithm SVD implementation ... in one line of code?

In a slide within the introductory lecture on machine learning by Stanford's Andrew Ng at Coursera, he gi

avatar
Louetta
0 1 0 9
asked 07 September, 2021
63 votes
2 answers
1.6K views
Octave / Matlab: Extend a vector making it repeat itself?

Is there a way to extend a vector by making it repeat itself? >v = [1 2]; >v10 = v x 5; %x represents s

avatar
Georgie
0 1 0 9
asked 07 September, 2021
58 votes
7 answers
1.8K views
Map function in MATLAB?

I'm a little surprised that MATLAB doesn't have a Map function, so I hacked one together myself sinc

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
66 votes
7 answers
2.3K views
What's the difference between & and && in MATLAB?

What is the difference between the & and && logical operators in MATLAB?

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
56 votes
8 answers
2.2K views
How to get all files under a specific directory in MATLAB?

I need to get all those files under D:\dic and loop over them to further process individually. Does MATLAB su

avatar
Scot
0 1 0 9
asked 07 September, 2021