# Daniel Vieira

**Statistics**

RANK**1,348**

of 287,538

REPUTATION**45**

CONTRIBUTIONS

**8** Questions

**21** Answers

ANSWER ACCEPTANCE **
12.5%
**

VOTES RECEIVED**9**

RANK

of 19,412

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Correlation Function giving the same output for different inputs

this fomula for CSAC results 1 for any complex numbers H1 and H2. It may be wrong, you should check the same formula from other ...

17 days ago | 0

Question

why are fig files opening invisible?

a few days ago matlab started opening figures from fig files with the Visible flag 'off'. After I figured what was happening it'...

6 months ago | 1 answer | 0

### 1

answerfzero giving incorrect result

I ran this code, got Hin = 2.216, and checked it with Resid(Hin), which gave zero. Testing Resid(2.33) does not give zero. I thi...

12 months ago | 0

| accepted

How to solve this matrix equation

x=A\b where A is the matrix and b is the left-hand vector. notice that, since this is not a square matrix, the solution is not ...

1 year ago | 0

i want to add a line when i press 'escape' button the program stops, because this program is infinite. Also what is the benefit of '"drawnow();" because i did not get it.

in matlab, a plot is normally only drawn when the script ends, so if you are plotting and constantly overwritting you would see ...

1 year ago | 0

number of figure windows that are currently open?

I do something like this: for k=1:K % my code here figure; % my plot here fig=gcf; % get figure handle ...

1 year ago | 0

How can I save a line plot as an image with specific pixel size?

to save a matlab figure as a png image use the print function: figure; plot(x,y) fig=gcf; print(fig,'filename.png','-dpng') ...

1 year ago | 0

| accepted

Hello guys! I need a little help with 3d plotting. I need to do the coloring for the surface like this, but I cant get the yellowy parts to their correct positions.

ok... what do you mean by "correct position" for the yellow parts? where is the correct? strange things I noticed: 1) the "U...

2 years ago | 0

| accepted

Why are the results of forward and predict very different in deep learning?

I ran into this exact problem, and I think I found a solution, I'll discover it when my model finishes training... As others ...

2 years ago | 5

| accepted

How to deconvolve an image in MATLAB? i was using weiner filter for this purpose but didn't get the results.

Looking superficially this code seems right, would have to go through the theory to check. But you can also use the function wie...

4 years ago | 0

Optimization in which the function varies with its own solution

I'm not sure I fully understood it because to me it still seems simple. Instead of writing: objFun=@(X) Fuel_cell_weight*x(1)+ ...

4 years ago | 1

Trying to find the error in logic

the Threshold parameter doesn't matter at all in your code. you binarize the image with the threshold, measure solidity of blobs...

4 years ago | 0

Hi . I am new to DNN. I use deep neural network for binary classification but returns all zeros or ones.

I recommend normalizing your predictors, they range from 10^-5 to 10^9, pretty insane. I'd rather work with the log10 of that (r...

4 years ago | 0

| accepted

How to use transfer learning on U-net created in Matlab?

what you made works only for sequential models, where each layer is necessarily connected to the next in the same order that the...

4 years ago | 0

How can i extract all labeled objects in a image and save every object as an image?

with the image labeler you made a table where the first column is the image file, and the others are each label, each cell conta...

4 years ago | 0

How can I detemine the presence of some colors (e.g white, light brown, dark brown, red, blue gray and black) in a piture like attached one?

the easiest way would be using the Color Thresholder App to create function for the each color you want.

4 years ago | 0

Interpolate Points of a 3D Point Cloud?

try the scatteredInterpolant, should work fine with these points (not so much if you had a closed surface)

4 years ago | 0

How can i calculate the ( area ,... ) automatic for gray scale image using Matlab code ??

you don't calculate areas in grayscale directly, you need to binarize to indicate which pixels count in the area and which dont....

4 years ago | 2

CNN seems to be too inaccurate to classify my images. Is there an alternative that I can explore?

Alexnet is the simplest of the pretrained deep learning models, you might want to try others (resnet, inception, etc). You mi...

4 years ago | 0

| accepted

Reshaping a 2 d matrix into a 3 d matrix row wise.

A=randi(10,100,99); % example of what your matrix might be B=permute(reshape(A',9,11,[]),[2 1 3]) % solution

4 years ago | 0

Question

MATLAB App Designer does not render new fonts

I needed an illegible font for an app that requires a password, and there wasn't any in the App Designer default fonts, so I don...

4 years ago | 1 answer | 0

### 1

answerQuestion

what is the minimal Visual Studio 2017 community installation required to pass coder.checkGpuInstall test?

Up until a few weeks ago I had a full installation of Visual Studio in the default path, and everything worked. Then I made an u...

4 years ago | 0 answers | 0

### 0

answersQuestion

possible problem with matlab installer for linux (2018b)

Hi, I'm trying to install matlab 2018b on ubuntu gnome 16.04, it seems quite strainght-forward, but I've run into a problem and ...

5 years ago | 0 answers | 1

### 0

answersQuestion

what happens if a license expires while a script is still running?

I have a neural network training on a cluster right now. I estimated that on my personal machine it would take 10 days running; ...

6 years ago | 1 answer | 0

### 1

answerQuestion

how to interpret the plotsomnd output?

Hi, I'm experimenting with clustering algorithms in my work, right now I'm trying SOM's, and I found it confusing to interpr...

6 years ago | 0 answers | 0

### 0

answersQuestion

how to compile pretrained networks?

I have a code like this: function results=myNet(filename) load(filename) %loads data from mat file load('net.mat') ...

6 years ago | 0 answers | 0

### 0

answersHow can I prune the weak learners in an ensemble learner?

I'm having a similar problem, it appears this doesn't work anymore on 2017a.

6 years ago | 0

Question

issue with MATLAB Coder and cell arrays

I wrote a code to track multiple faces, and I'm trying to put it on a raspberry pi. I solved every issue pointed by the Coder ex...

7 years ago | 1 answer | 0

### 1

answerSolved

Parasitic numbers

Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

7 years ago