![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/12858687_1526550341121_DEF.jpg)
Shrestha Kumar
2018 年からアクティブ
Followers: 0 Following: 0
統計
All
Feeds
解決済み
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
6年以上 前
解決済み
Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...
6年以上 前
解決済み
Clean the List of Names
Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...
6年以上 前
回答済み
Missing Observations error when running regression
Hi, You can replace NaN with the mean of the data in the column(if it is a numerical value else take the mode). Also, NaN va...
Missing Observations error when running regression
Hi, You can replace NaN with the mean of the data in the column(if it is a numerical value else take the mode). Also, NaN va...
6年以上 前 | 0
回答済み
??? Undefined function or variable 'im' . how to solve this error?
Hi, You get this error because you have commented the definition of variable im in the first line. Uncomment it and then p...
??? Undefined function or variable 'im' . how to solve this error?
Hi, You get this error because you have commented the definition of variable im in the first line. Uncomment it and then p...
6年以上 前 | 0
回答済み
How to use Neural network into Large data?
Hi, If there are lots of redundant columns in your dataset then you can apply feature extraction techniques for reducing the ...
How to use Neural network into Large data?
Hi, If there are lots of redundant columns in your dataset then you can apply feature extraction techniques for reducing the ...
6年以上 前 | 0
| 採用済み
解決済み
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
6年以上 前
回答済み
How can I find the maximum number and minimum number in a matrix?
Hi, max(A) returns maximum element in case A is a vector. If A is a matrix then it returns a row vector of the maximum value of...
How can I find the maximum number and minimum number in a matrix?
Hi, max(A) returns maximum element in case A is a vector. If A is a matrix then it returns a row vector of the maximum value of...
6年以上 前 | 1
| 採用済み
回答済み
How to connect an AWS PostgreSQL database with Database Toolbox?
Hi, It seems that you haven't installed the driver for the postgresql database. You can find all the drivers for different da...
How to connect an AWS PostgreSQL database with Database Toolbox?
Hi, It seems that you haven't installed the driver for the postgresql database. You can find all the drivers for different da...
6年以上 前 | 0
回答済み
Image Analysis - Adding Images
Hi, You can use imread function to read the image and get a matrix with RGB values of the image. For example - imread('5.j...
Image Analysis - Adding Images
Hi, You can use imread function to read the image and get a matrix with RGB values of the image. For example - imread('5.j...
6年以上 前 | 0
回答済み
what does the plot obtained from fitcsvm mean?
Hi, In the plot, the number of function evaluations is the iteration number of the objective function(i.e first iteration,sec...
what does the plot obtained from fitcsvm mean?
Hi, In the plot, the number of function evaluations is the iteration number of the objective function(i.e first iteration,sec...
6年以上 前 | 1
| 採用済み
回答済み
What is your suggestion for improving the result of such a bad ANN when the training is stopped by the maximum Mu value?
Hi, The MU reaches its maximum value means that further training will lead to degradation of the network. In your case, as...
What is your suggestion for improving the result of such a bad ANN when the training is stopped by the maximum Mu value?
Hi, The MU reaches its maximum value means that further training will lead to degradation of the network. In your case, as...
6年以上 前 | 0
| 採用済み
解決済み
De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...
6年以上 前
解決済み
Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...
6年以上 前
解決済み
Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
6年以上 前
回答済み
Hi, i’m new in Matlab and i can’t understand what is the problem using integral, the error occured is First input argument must ne a function handle, thanks for the help.
Hi, You cannot directly give a expression as a parameter to the integral function. So you need to define a new function wi...
Hi, i’m new in Matlab and i can’t understand what is the problem using integral, the error occured is First input argument must ne a function handle, thanks for the help.
Hi, You cannot directly give a expression as a parameter to the integral function. So you need to define a new function wi...
6年以上 前 | 0
| 採用済み
回答済み
When using textscan how do I process repeating data?
Hi, As you are scanning the file with only one delimiter ',' the textscan look for that delimiter only to stop reading. So...
When using textscan how do I process repeating data?
Hi, As you are scanning the file with only one delimiter ',' the textscan look for that delimiter only to stop reading. So...
6年以上 前 | 0
| 採用済み
回答済み
Plotting negative and positive values with different colors in a graph
Hi, You can find your answer here- https://in.mathworks.com/matlabcentral/answers/285397-plotting-negative-values-with-blu...
Plotting negative and positive values with different colors in a graph
Hi, You can find your answer here- https://in.mathworks.com/matlabcentral/answers/285397-plotting-negative-values-with-blu...
6年以上 前 | 0
解決済み
Stuff the Board
You have a stack of tiles to put onto an array-like playing board. Each tile has a number (always an integer), and the board var...
6年以上 前
解決済み
Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...
6年以上 前
回答済み
predict future value using SVM regression
Hi Haneya, Once the trained model is created you can use the predict function for predicting the values. For example - ...
predict future value using SVM regression
Hi Haneya, Once the trained model is created you can use the predict function for predicting the values. For example - ...
6年以上 前 | 0
| 採用済み
回答済み
Plotting two digraphs on the same plot
Hi, After you plot the f graph use "hold on" to plot another graph on the same display. f=plot(F,'EdgeColor','r') hold ...
Plotting two digraphs on the same plot
Hi, After you plot the f graph use "hold on" to plot another graph on the same display. f=plot(F,'EdgeColor','r') hold ...
6年以上 前 | 0
| 採用済み
解決済み
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
6年以上 前
解決済み
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
6年以上 前
解決済み
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
6年以上 前
解決済み
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
6年以上 前
解決済み
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
6年以上 前
解決済み
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
6年以上 前
解決済み
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
6年以上 前