photo

Niklas Nylén


DENSO Sales Sweden AB

Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

All
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Commenter
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Matlab Code to C
The documentation of how functions are declared in Matlab is available here: http://www.mathworks.se/help/matlab/ref/function.ht...

environ 10 ans il y a | 0

Réponse apportée
Importdata Command not accepting input argument
Filenames seems to be a cell of cells, you can tell from ans being 'L1S11_0_0.mat' rather than just L1S11_0_0.mat. This should w...

environ 10 ans il y a | 0

Réponse apportée
change format of phone numbers in matlab 2013Ra?
A very straight forward way would be: pIn = '923332425932'; pOut = ['+' p1(1:2) '-' p(3:5) '-' p(6:end)]

environ 10 ans il y a | 0

Réponse apportée
how to creat a 0and 1 matrix by another matrix
"Please don't use for loop,it's too slow." In which context are you using the function if the following code is too slow? If...

environ 10 ans il y a | 0

Réponse apportée
How many cm is 1pixel for a screen resolution of "640x360"
That depends on the size of your screen. If your screen is 20 cm wide, each pixel will be 20/640 = 0.125 cm wide.

environ 10 ans il y a | 0

Réponse apportée
How to import csv file of 200 rows by 4096 columns without truncation?
Please try importdata, http://www.mathworks.se/help/matlab/ref/importdata.html

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Why cannot I fully run this code in exe?
It is not possible to compile functions from Symbolic Toolbox. See this answer: http://www.mathworks.com/matlabcentral/answers/5...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
How to modify a GUI
Right click the .fig file in matlab and select "Open in GUIDE".

environ 10 ans il y a | 1

| A accepté

Réponse apportée
How can I choose to show only part of plot/legend?
If you start by only plotting one of the max points by adding a second argument to the find function plot(find(Vattenh==(Ma...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
When installing matlab R2013A on Windows 7 64bit I get the Error : exception calling main
If you already tried all the solutions listed <http://www.mathworks.com/matlabcentral/answers/99099#answer_108446 here>, I sugge...

environ 10 ans il y a | 1

Réponse apportée
matlabpool open n; doesn't work.
This is because writing arguments like this: matlabpool open 2 is the same as passing the strings 'open' and '2' to the m...

environ 10 ans il y a | 1

| A accepté

Réponse apportée
Attaching a specific value to a set of numbers
x(ismember(x,[1 2 6 7 8]))=1

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Passing input variables to function
The problem is that you are trying to put mixed data types (one number and one string) into the same vector. If you use a cell i...

environ 10 ans il y a | 0

Réponse apportée
nchoosek---Result may not be exact !?
Your answer is in the range of 10^150 which meas that the number needs to be represented by approximately 500 bits. You coul...

plus de 10 ans il y a | 0

Réponse apportée
Using a variable for the Goto tag name
You will need to add some code to the dialog callback in the parameter pane of the mask editor to change the tag, see attached i...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Least Square Method adaptation
The code you provided seems to be in Octave, not MATLAB syntax.

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
how to fix Index exceeds matrix dimensions?
First, you should predefine the size of u instead of changing the size throughout your script. Second, in the first for loop ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Infinite loop in Matlab Fctn Block
The condition to exit the while loop is that i>=5 and you never change the value of i in the loop, which means you will never ex...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
please help me read a csv file
You can also try with importdata

plus de 10 ans il y a | 0

Réponse apportée
Convert bus creator in bus object
Select the bus creator in simulink and run this command in the command window, as I answered on one of your previous question: ...

plus de 10 ans il y a | 0

Réponse apportée
How can I detect inside a function which output args are being used by the caller ie. those that aren't "~"?
Unless this has been added very recently there is unfortunately no way to know which outputs will actually be used. One way to a...

plus de 10 ans il y a | 0

Réponse apportée
How to read the data of *.csv file inside Zip File without extracting the contents
No, there is not, since the data is not explicitly readable in the zip file.

plus de 10 ans il y a | 0

Réponse apportée
How can I spilt long integer number into pairs?
To split the integer x into pairs according to your description: x = 12345 numDigitsInX = floor(log10(x))+1; pairs ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Delaying input of block
Use the block Transport Delay in the category Continuous. Check by connecting input and the output of the block to a scope and c...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Using a base bigger than 36
You can see the code of base2dec by writing edit base2dec The reason it is limited to base 36 seems to be that you run ou...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How to select elements from a vector repecting a condition in Simulink
Although it is possible to do what you want without using simulink blocks it is a bit tricky. You could start by attempting to s...

plus de 10 ans il y a | 1

Réponse apportée
Why do I get this error? Undefined function 'abs' for input arguments of type 'Simulink.Parameter'.
Are you using the parameter as a mask value? There may be something below the mask that is attempting to use the parameter that ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How can i create bus elements of one bus object from code in simulink?
In matlab code, create a generic element using myElement = Simulink.BusElement; You can set the properties of the new ele...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How do I make make my simulation run for longer than 2085 loops. Index out of bounds because numel ()=1 prevents my model for running for the full amount of time.
The issue seems to be that your step time (0.005) can not be exactly represented by a double precision floating point number: ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
how to implement back propagation algorithm in matlab?
Googled 'Back propagation algorithm matlab' and this was the first result: http://anoopacademia.wordpress.com/2013/09/29/back-pr...

plus de 10 ans il y a | 1

| A accepté

Charger plus