Community Profile

photo

shdotcom shdotcom


Last seen: 28 jours il y a Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • Explorer
  • First Review
  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


How to convert A= [13;8;12;4;8;1;13;0;10;13;1;6;14;13;1;14;11;9;9;10;10;15] to B= [3 0 0 1 0 1 0 2 2 3 1 1 4 2 1]
if A= [13;8;12;4;8;1;13;0;10;13;1;6;14;13;1;14;11;9;9;10;10;15] how can I convert A to be: B= [3 0 0 1 0 1 0 2 2 3 1 1 4 2 1]. ...

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

2

réponses

Question


[mexFunction in Matlab] printf() function in C code
If I have a C code that consists of three files, Afun.c, Bfun.c and Cfun.c int Afun (int argc, char *argv[]){) { Bfun()...

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

1

réponse

Question


How to return the outputs of mexFunction() in Matlab?
I have this code in C: #include <mex.h> #include <matrix.h> #include<stdio.h> #include <math.h> //... int callFun(...

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

1

réponse

Question


mexFunction returns different outputs
I have a c source code that consists of several .c files. I have build the mexFunction for it. However, when I run the code, I g...

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

0

réponse

Question


Error when calling the mexFunction
I have build the mexFunction for this source code. However, I have got this error when I call the main function argc 3 argv ...

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

1

réponse

A répondu
[Create mexfunction from C code] The order of several c files
I have solved the problem by modifying the C code (by removing resource.h)

plus de 4 ans il y a | 0

Question


[Create mexfunction from C code] The order of several c files
I have a c source code that consists of several .c files. How can I know the orders of these files when I build the mex function...

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

2

réponses

Question


[Create mexfunction from C code] warning: implicit declaration of function
why I got this warning message "warning: implicit declaration of function 'myfunction' " when I build the mex function? #incl...

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

1

réponse

Question


Create mexFunction for C source code
Hi, I have this source code in C, and I want to call it from Matlab using the mexFunction. In this code there are many comman...

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

0

réponse

Question


How to show the legends of this plot?
How to change the leg1 to show star shape instead of line and how to move the legend to the middle of the figure? Also, the size...

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

2

réponses

Question


How to plot as lines instead of dots
Is it possible to plot this: n= 3; f = UniformPoint(1000,n); f = f./repmat(sqrt(sum(f.^2,2)),1,n); PFcolor = [0.2 0.2 0....

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

1

réponse

Question


Compare matrix element without loops
Hi, Is there any way to get same result without using loops? G = [5 8; 8 5; 3 9; 7 3; 1 4; 5 10; 6 7; 4 10; 4 7; 1 6]; n = 2;...

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

1

réponse

Question


Remove legend items from Figure
In the figure, how to remove the item "aa" from the legennd without changing the shape of other items? PointStyle = {'kp...

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

1

réponse

Question


Combining K matrices in one matrix
Hi, I have K matrices of size [n,m]. For example: K = 3; n = 4; m = 3 a = [1 2 3; 4 5 6; 7 8 9; 4 7 2]; b ...

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

1

réponse

Question


Check the overlap between circles
This code is to check the overlap between circles, *is it possible to do this without for loop?* function pairs = checkOver...

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

1

réponse

Question


Overlap integral of the electric field distribution
Hi, I am trying to calculate overlap integral (OI) of electric field distribution, using Matlab, when run the following code: ...

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

1

réponse