J. Hu
Followers: 0 Following: 0
Professional Interests: Structural Engineering
Statistiques
RANG
8 580
of 295 569
RÉPUTATION
4
CONTRIBUTIONS
18 Questions
3 Réponses
ACCEPTATION DE VOS RÉPONSES
50.0%
VOTES REÇUS
4
RANG
of 20 247
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 105
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Can I use an image as 3D plot's face texture?
I found answers: http://www.mathworks.com/matlabcentral/fileexchange/27764-map-texture-to-patch http://www.mathworks.com/m...
presque 11 ans il y a | 0
| A accepté
Question
Can I use an image as 3D plot's face texture?
For example, I defined an object Obj using vertices and faces. I can set the face color using Obj.facecolor = 'r'; I wanted to ...
presque 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Why subclass & superclass in OOP?
I am a beginner in OOP. So far I found it very powerful. However, there is one concept, subclass & superclass, I do not understa...
environ 11 ans il y a | 2 réponses | 3
2
réponsesQuestion
Is it possible to define the properties for a class using cell array?
For example, I have a cell array AA={'x' 'y' 'z'} obtained by reading external files such as Excel table. How can I define the p...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Should I use primary or dependent property?
There is one property which by nature is dependent property because it is obtained from calculation using primary independent pr...
environ 11 ans il y a | 2 réponses | 1
2
réponsesQuestion
How to get Dependent Property depending on properties of objects of different class
See the code below: Ex_ObjA.m--> classdef Ex_ObjA properties a end methods ...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
what are the differences between [] and '' in a cell array, how to identify and differentiate them?
c1={'a',[],'b'}--> isempty(c1(2))=0; Not empty size(c(2))=1 1; strcmp(c(2),[])=0; Not a string c2={'a','','b'}--> ...
environ 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to determine if an entry is cell type or others?
I wanted to have a function to remove the empty cell, Null cell, NaN in a vector: A = [2 NaN 3] % DatawEmpty example B = {...
environ 11 ans il y a | 1 réponse | 0
1
réponseProblem with assigning properties to object array in class
After adding following like in http://www.mathworks.com/help/matlab/matlab_oop/creating-object-arrays.html: if nargin ~= 0 % ...
environ 11 ans il y a | 0
Question
Problem with assigning properties to object array in class
Why I got error message for following code and how can I fix it? Thanks... ObjArray.m: clear all; clc A= {'a',2;'V',3}; ...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
How can I calculate dependent properties and assign them to the object?
Given a property for an object, need to calculate some values and assign them to the properties of the same object. I use follow...
environ 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to do Matlab Object Orientated Programming for catenated Objects
I am a beginner for OOP. I tried some simple examples and found out it is really good. So I wanted to apply to a more complicate...
environ 11 ans il y a | 1 réponse | 0
0
réponseQuestion
Problem with retrieving mySQL data with DATE column
I have this problem for data table in mySQL DB with column defined using DATE format such as `InstallDate` date NOT NULL, ...
environ 11 ans il y a | 1 réponse | 0
0
réponseQuestion
How to create variables using strings in an array?
str1={'x','trs','height','width'} str2='db_xtr' For example, I wanted to do: for ivar=1:size(str1,2) C_%str1%_%str2%=ivar^...
environ 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Why is this SQLquery in Matlab returning repeated records?
I used JDBC driver to connect to the mySQL DB in Matlab. The connection works. However, when I used following SQLquery in Matlab...
environ 11 ans il y a | 1 réponse | 0
0
réponseQuestion
why the only first row of the imported data using importdata is not correct
I have following data copied from excel file and then pasted to a file "x.txt": USName Height Width Thickness Area -...
plus de 11 ans il y a | 1 réponse | 0
1
réponsewhy the only first row of the imported data using importdata is not correct
If I switch the first and second row as: - - - - in^2 USName Height Width Thickness Area L1x1x1/8 1 1 0.125 0.234375 ...
plus de 11 ans il y a | 0
Question
How to get the smallest diameter of a cicular pipe enclosing many points in 3D space?
I wanted to know the mathematics and then use Matlab to do it. In 2D plane, for example, if there are three points, then the...
plus de 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to get the rotation matrix and associated Euler Angles for the rotation of 3D objects depicted by the coordinates of its vertices
How to get the rotation matrix and associated Euler Angles for the rotation of 3D objects depicted by the coordinates of its ver...
environ 12 ans il y a | 1 réponse | 0
0
réponseQuestion
How to unify the code for reading XML file with varied field length?
To read the attribute value in an xml file like below with single field (length=1) <A Xvalue="3"> </A> I use AXvalue ...
environ 12 ans il y a | 1 réponse | 0
0
réponseQuestion
How to get the numeric value from text after parsing an xml file?
I use xml2struct to read the xml file into a structure. However, the format of all info are text. For example, attributes z='18'...
plus de 12 ans il y a | 1 réponse | 0